Categories
Ask Development Programming & Design

[ Programming & Design ] Open Question : What happened to my xlsx file?

Why the first row started showing “field1 field2 field3”? How to get back to normal?

Categories
Ask Development HTML Java Javascript Programming & Design

[ Programming & Design ] Open Question : Why is HTML/JavaScript not working in my Blogger blog?

I have a blog on blogger and whenever I add some scripts (Amazon native ads, Popup ads, banner ads) in the gadget or directly in posts. This script does not work. can you help me how to fix this?

Categories
Ask Development Programming & Design

[ Programming & Design ] Open Question : What would be the funniest way to hack someone without damaging their computer?

I think it’d be funny to install hidden autoclickers on someone’s computer. Make space, escape, ctrl, alt, and delete trigger buttons. It would render their computer useless until they guessed the right keys, then they could delete the files and they basically get a temporary payload without damage to their system.

Categories
Development Programming & Design

What is the best practice: business logic in Verticles or separate?

Recently I started programming in Vert.x with Kotlin, the question is generic for any technology with which we use the Vertx toolkit. I created my verticles, but in these I have business logic, and I would like to know what is the best practice: 1.Separate the logic to an independent class, instantiate it in the […]

Categories
ASP.NET Development Programming & Design

When using ASP.NET core Identity, it is better to extend the User class or write separate entities that relate to it [on hold]

I want to use the Identity system provided by ASP.NET core. Most tutorials I read extend the User class by adding custom properties like the following: public class ApplicationUser : IdentityUser { public string FirstName { get; set; } public string LastName { get; set; } // etc… } This seems fine when you only […]

Categories
Development Programming & Design

Model structure in CodeIgniter

I’ve been struggling with an application (model) design problem for the past couple days, and can’t really say that I’ve made much progress. I’m new to PHP frameworks. I’ve have been using CodeIgniter for last two months. Everything is fine so far, but as the count of entities (tables) in the app increases, I begin […]

Categories
Development Programming & Design

Load image from server using glide

//link from website private String imageUrls[]= { “https://dicodingacademy.blob.core.windows.net/eventimages/dsc_chapter_stmik_stikom_indonesia_introducing_developer_student_club_and_google_technologies_logo_041019113915.png”, “https://dicodingacademy.blob.core.windows.net/eventimages/dsc_ueu_event_workshop_4_flutter_aej_build_your_first_app_with_flutter_fetching_data_from_an_api_logo_151019182429.JPG”, “https://dicodingacademy.blob.core.windows.net/eventimages/build_your_own_startup_for_a_better_generation_logo_270919142930.png”, “https://dicodingacademy.blob.core.windows.net/eventimages/fundamental_unity_engine_logo_280919221953.png”, “https://dicodingacademy.blob.core.windows.net/eventimages/colosseum_2019_x_dsc_ithb_ui_ux_design_mobile_app_prototyping_with_figma_logo_141019071945.png”, “https://dicodingacademy.blob.core.windows.net/eventimages/make_unit_testing_great_again_logo_141019104313.jpg”, }; public RecyclerViewAdapter(Context context, ArrayList list) { this.context = context; this.mData = list; } public class ViewHolder extends RecyclerView.ViewHolder { public TextView tvNama, tvSource, tvSummary; public ImageView img; public ViewHolder(View v) { super(v); tvNama = v.findViewById(R.id.name); tvSource = v.findViewById(R.id.oleh); tvSummary = v.findViewById(R.id.summary); […]

Categories
Development Programming & Design

Programming e-ink display on atmega32 without arduino

i’ve bought eink 1,54 display module from waveshare, i want to program atmega32 and design a gui with keys on this eink. I wrote a simple code using spi in eclipse: #include <avr/io.h> #include <util/delay.h> void Inicjacja_spi() { DDRB = ( 1 << PB5 ) | ( 1 << PB7 ) | ( 1 << […]

Categories
Ask Development Programming & Design

[ Programming & Design ] Open Question : I need help with my Python program?

num_grades = int(input(“How many grades do you expect? “)) if num_grades > 0: namelist = [] scorelist = [] gradelist = [] for ng in range(1, num_grades + 1): name = input(‘What is your name? ‘) namelist.append(name) score = float(input(‘What is your score? ‘)) scorelist.append(score) if score >= 70: gradelist.append(“P”) else: gradelist.append(“F”) students_fail = 0 […]

Categories
Ask Development Programming & Design

[ Programming & Design ] Open Question : How to develop javascript skills?