archived
stringclasses 2
values | author
stringlengths 3
20
| author_fullname
stringlengths 4
12
⌀ | body
stringlengths 0
22.5k
| comment_type
stringclasses 1
value | controversiality
stringclasses 2
values | created_utc
stringlengths 10
10
| edited
stringlengths 4
12
| gilded
stringclasses 7
values | id
stringlengths 1
7
| link_id
stringlengths 7
10
| locked
stringclasses 2
values | name
stringlengths 4
10
⌀ | parent_id
stringlengths 5
10
| permalink
stringlengths 41
91
⌀ | retrieved_on
stringlengths 10
10
⌀ | score
stringlengths 1
4
| subreddit_id
stringclasses 1
value | subreddit_name_prefixed
stringclasses 1
value | subreddit_type
stringclasses 1
value | total_awards_received
stringclasses 19
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
False
|
Aetheus
|
t2_6q1vo
|
This sounds like exactly what I'm looking for, as a software engineer without a deep understanding of maths. Are you the author, OP?
| null |
0
|
1543931427
|
False
|
0
|
eb2fn4i
|
t3_a2vq8j
| null | null |
t3_a2vq8j
|
/r/programming/comments/a2vq8j/a_programmers_introduction_to_mathematics_new_book/eb2fn4i/
|
1547004270
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
birdbrainswagtrain
|
t2_car4b
|
> Back in the day when the 6502 was popular, a ‘for’ loop like this could be written in 4 or 5 instructions.
Strip away the function prelude, epilogue, debugging info, and the call in the middle, and this loop is also 4 instructions.
xorl %ebx, %ebx
LBB0_1: ## =>This Inner Loop Header: Depth=1
incl %ebx
cmpl $100, %ebx
jne LBB0_1
Thanks to the magic of CISC it's also possible to do it in 2 instructions, although I don't think anyone would recommend it these days.
movl $100, %ecx
begin:
loop begin
(I think this is the correct AT&T syntax, I try to pretend it doesn't exist.)
| null |
0
|
1545084245
|
False
|
0
|
ec07oja
|
t3_a72sak
| null | null |
t3_a72sak
|
/r/programming/comments/a72sak/a_quick_look_behind_for_loop/ec07oja/
|
1547740264
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
MoDuReddit
|
t2_bzmq3
|
I've been using browsers before you were born, fuck off.
| null |
0
|
1543931516
|
False
|
0
|
eb2fq5a
|
t3_a2b8u4
| null | null |
t1_eb2cbhr
|
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eb2fq5a/
|
1547004307
|
0
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
TheWac0Kid
|
t2_6acg5
|
You mean porn. Or video games that you don't want your kid to have access to.
| null |
0
|
1545084284
|
False
|
0
|
ec07qcd
|
t3_a73l9e
| null | null |
t1_ec03wgx
|
/r/programming/comments/a73l9e/a_windows_program_to_hide_a_section_of_a_drive/ec07qcd/
|
1547740285
|
9
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
RacerRex9727
|
t2_sbrwb
|
Negative. Although I do love these initiatives and do similar ones like this cheat sheet I'm building.
https://github.com/thomasnield/kotlin_math_cheatsheet/blob/master/README.md
| null |
0
|
1543931560
|
False
|
0
|
eb2fro6
|
t3_a2vq8j
| null | null |
t1_eb2fn4i
|
/r/programming/comments/a2vq8j/a_programmers_introduction_to_mathematics_new_book/eb2fro6/
|
1547004326
|
4
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Goron40
|
t2_4eqnz
|
No one I have ever worked with follows this advice.
| null |
0
|
1545084410
|
False
|
0
|
ec07w78
|
t3_a719k6
| null | null |
t3_a719k6
|
/r/programming/comments/a719k6/the_consequences_of_your_code_tom_scott/ec07w78/
|
1547740358
|
-7
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
amaiorano
|
t2_fuhg2
|
> I'm certainly not a macOS developer, or really a developer of any kind really (I'm an artist), and Stenzek is a great graphics dev, but isn't a macOS dev. So we don't really have the resources or expertise to figure this out.
> Well, if there happens to be someone who knows about macOS frame-pacing and the compositor reading this, we'd love to hear from you! Anyone can contact us with our twitter and IRC. We could really use some help in sorting out this issue!
Anyone in this great community who can help? Dolphin is an awesone project with an even more awesome team.
| null |
0
|
1543931710
|
False
|
0
|
eb2fwyt
|
t3_a2yde9
| null | null |
t3_a2yde9
|
/r/programming/comments/a2yde9/dolphin_progress_report_november_2018/eb2fwyt/
|
1547004392
|
24
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
anengineerandacat
|
t2_hq59g
|
>*Every* piece of code requires such an explanation. If it does not, then why the hell you're writing it in the first place, if there is no business requirement for it?!?
No, I really don't agree with this and not because of a book but just out of practice and experience in general; code that is doing business work needs comments.
Glue code that is opening up resources / closing resources should just be named correctly it's easy enough to understand what's going on from there. However method signatures should be properly doc-blocked unless a getter / setter or easily explained actions via class definitions.
My opinion on this is slightly biased though and I want to point out this is for application code; if one is writing a library or framework or anything that included in another project almost every public / protected definition should be documented. Not all code is the same.
>Instead of insisting on a *size* of a method, you'd better ask yourself, how many *things* it's doing.
Maybe my point didn't quite make it across but pretty much this and I do agree with context preservation just to aid in debug / triage if something goes south (or even someone coming in to bolt on a new feature) I'll give you reddit gold if you comment back gold to this cl. HOWEVER I do think that methods that are large and encompassing hundreds of lines of code are highly suspect of code smell and should be vetted; is the code reading a file? Did someone put all the boiler plate to open the filestream into the method? K, let's refactor that out; etc. etc.
Also there comes a point in time where is it even valuable to waste more time in a specific portion of your application; is business happy? Is the application already performing well and meeting requirements. The most perfect codebase in the world is useless if no one actually runs the code.
| null |
0
|
1545084511
|
False
|
0
|
ec080zk
|
t3_a70crz
| null | null |
t1_ebzmxpo
|
/r/programming/comments/a70crz/stop_learning_frameworks/ec080zk/
|
1547740417
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
GoTriggerYourself
|
t2_o9lcl
|
https://www.tutorialspoint.com/sqlite/sqlite_data_types.htm
https://dev.mysql.com/doc/refman/8.0/en/data-types.html
https://docs.oracle.com/cd/B28359_01/server.111/b28318/datatype.htm
edit: Yes, you should use the parameterized versions, but what it does it to encode your data to the right SQL data type. If it's an integer it may be written as is and if it it's a string it will be quoted and escaped, but that is nothing more than encoding of the data.
| null |
0
|
1543931934
|
1543932194
|
0
|
eb2g4sm
|
t3_a2way5
| null | null |
t1_eb2b7zu
|
/r/programming/comments/a2way5/this_is_why_you_sanitize_user_input_chat_hacked/eb2g4sm/
|
1547004489
|
-9
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
jasonswett
|
t2_70372
|
I can see your point, and maybe under certain circumstances that's the way it would go. My example was actually based on a real experience though. There was no consensus among the team and so we had multiple conflicting testing "strategies" in place on top of each other. The JavaScript test suite wasn't connected to the main test suite and so it didn't get regularly run or added to. Ultimately, after a period of months, we said fuck it and scrapped the whole thing (IIRC). I think it would have gone better if we had had consensus from the beginning.
| null |
0
|
1545084725
|
False
|
0
|
ec08aws
|
t3_a72807
| null | null |
t1_ec03zjz
|
/r/programming/comments/a72807/why_the_boy_scout_rule_is_insufficient/ec08aws/
|
1547740540
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
dpash
|
t2_5bdkm
|
Two of my oft used keys in IntelliJ are F4 and shift-F6, so I don't think I could use a keyboard without F keys.
| null |
0
|
1543932111
|
False
|
0
|
eb2gb08
|
t3_a30gcq
| null | null |
t3_a30gcq
|
/r/programming/comments/a30gcq/a_look_at_the_ultimate_hacking_keyboard/eb2gb08/
|
1547004566
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
runthelastrun
|
t2_ap7j2
|
Toy examples were fun but the real world example wouldn't even be a problem if they used a more obvious storage format. Storing periods would map almost directly into the table format they are trying to achieve. This looks like premature optimisation making things complicated.
| null |
0
|
1545084764
|
False
|
0
|
ec08cn4
|
t3_a70qqn
| null | null |
t3_a70qqn
|
/r/programming/comments/a70qqn/special_cases_are_a_code_smell/ec08cn4/
|
1547740561
|
5
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
itsaworkalt
|
t2_td8uk4l
|
Yeah I'm not sure why but I had a hunch it was going to be him just from the title.
| null |
0
|
1543932118
|
False
|
0
|
eb2gbaw
|
t3_a2way5
| null | null |
t1_eb1oohp
|
/r/programming/comments/a2way5/this_is_why_you_sanitize_user_input_chat_hacked/eb2gbaw/
|
1547004570
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
pastenpasten
|
t2_18l50d7e
|
>Even though I am not a Windows programmer I think I do have the *slightest* idea of how COM works :)
I'm not a wizard. I don't sit inside your mind and know exactly what you think and what you know. I only see what you write, and from what you wrote it is apparent that you don't what the basics of Windows programming in general and how COM works in particular.
You wrote:
>There are two ways of loading a shared library (.DLL on Windows, .so on most Unix platforms, and .dylib on macs). One is to use a function like LoadLibary or dlopen. Then you must manually extract the functions from the library with GetProcAddress or dlsym. Most linkers (all that I know of) also allow you to link with a shared library so that it’s loaded on startup and its functions are automatically resolved to symbols in your code. That’s particularly useful as it’s the only sensible way to load a C++ interface from a shared library.
This is wrong on so many levels.
1. In Windows it is (relatively) very rare to export C++ objects across module boundaries, in great part due to ABI-incompatibility between various C++ compilers and different versions of the same C++ compiler. Keeping binary compatibility between VC 2015, 2017 and the upcoming 2019 is the new an exceptional situation.I emphasize again to prevent "misunderstanding" of what I wrote: `__declspec(export/import)` of C++ entities is sometimes done. It's just extremely uncommon in comparison to the alternative.
2. The only sensible way to "load a C++ interface from a shared library" (whatever that means) is to pass tables of pointers to function while keeping a few extra rules to deal with cross-module lifetime, memory allocation, etc. The short name for these rules is COM. That's how it's done on Windows and this is the only sensible way to do it.There are variation on the rules such as object implementing only one interface (classic COM) vs. objects implementing only one interface (WinRT / `IInspectable` / "agile objects") or multi-threading rules (working with various apartments vs. using only ASTAs) etc. but the general rule stands: "the only sensible way to load a C++ interface from a shared library" is through COM.And bootstrapping COM is done by calling what is morally an `extern "C"` function exported from a DLL in the usual way. This DLL is discovered and loaded completely at runtime; not using the linker and loader support for DLL imports.
What you said was wrong. If it wasn't due to insufficient knowledge it was an intentional falsehood. I'm not sure that's better.
​
>Anyway I had come across delayed loading, but didn't realize how it can be helpful. But now I found out you can use it with SetDllDirectory so it seems like a possible approach too. I'll add it to the article. Thanks.
This is nonsense again, but at least one that you quickly corrected. Using `AddDllDirectory` or `SetDllDirectory` here is wrong. Again, for many reasons. First, it's unnecessary. Second, it's changing global state to solve a local problem. Third, it's not thread-safe, unless you serialize all calls through your custom delay load helper/hook^(1). The correct way to use delay load to solve this problem is to locate the DLL yourself according to whatever policy you have in the `dliNotePreLoadLibrary` event of the hook, and return it from the hook.
I understand how you were misled by u/fsfod's comment about using delay loading, but this demonstrates again what seems to be a behavioural trait: Write first, think later. Instead of first reading on delay loading and then understanding what to do, you ran to write how you're going to call `SetDllDirectory` from the hook/helper. Just like you did in your post.
What's amazing is that you're still wrong about almost everything you could be regarding this, right from the first sentence. Just like you were (and still is) wrong about in the first paragraph of your post.
>Since 2016 Microsoft’s linker LINK.exe supports [delayed loading](https://docs.microsoft.com/en-us/cpp/build/reference/linker-support-for-delay-loaded-dlls?view=vs-2017).
Delay loading is available **FOR DECADES** \- and I mean that literally - not since 2016. It's available *at least* since 1998. That's literally 20 years.
​
I know you're talking nonsense 'cause you ain't got any clue but don't you care about other people who might read all that nonsense and form completely wrong ideas about the world based on what you write?
Forget that. Don't *you* care about that yourself? Aren't you interested in writing things that are true instead of things that are false? For yourself, even if no one ever reads them. Don't you feel bad writing things that are wrong over and over again just because you couldn't be bothered to read before you write?
​
I'm somewhat sorry for being blunt, but it's really disheartening to see so much text based on completely false premises, and that fact that you refuse to learn from your mistakes only makes it worse.
​
^(1) Well, actually, today loading DLLs is serialized anyway because of the loader lock, but it won't necessarily stay that way for ever (see Windows 10 changes in DLL loading for example), and it's still wrong to add unnecessary serialization of things you shouldn't serialize only to solve a problem you shouldn't have had in the first place.
| null |
0
|
1545084875
|
False
|
0
|
ec08hp3
|
t3_a6qqod
| null | null |
t1_ebzcrde
|
/r/programming/comments/a6qqod/the_search_for_autoloaded_dlls_and_windows_rpath/ec08hp3/
|
1547740623
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
bernaferrari
|
t2_aaf2o
|
Me too, a downgrade from my gtx 1080, but at least it will work for years to come.
| null |
0
|
1543932295
|
False
|
0
|
eb2ghhd
|
t3_a2oxxm
| null | null |
t1_eb1zxko
|
/r/programming/comments/a2oxxm/nvidia_physx_sdk_has_gone_open_source_3clause_bsd/eb2ghhd/
|
1547004677
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
coladict
|
t2_aijf0
|
Probably. Only a matter of time until they're discovered.
| null |
0
|
1545084902
|
False
|
0
|
ec08izj
|
t3_a6zxou
| null | null |
t1_ec06ty8
|
/r/programming/comments/a6zxou/sandspiel_a_falling_sand_game_built_in_rust_and/ec08izj/
|
1547740640
|
-4
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
menge101
|
t2_3bz34
|
agreed. the comments make the click worth it.
| null |
0
|
1543932505
|
False
|
0
|
eb2gp4q
|
t3_a2z8rb
| null | null |
t1_eb2b9zm
|
/r/programming/comments/a2z8rb/why_the_react_community_is_missing_the_point/eb2gp4q/
|
1547004771
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
anengineerandacat
|
t2_hq59g
|
It's streamed pure data; it's like nirvana for the problem at hand, imagine taking the existing algo and then having a fallback ML based approach.
​
Launch Shazam, Shazam tries to fingerprint the song and can't, sees that you own Shazam Premium and alerts the user "I'll let you know when I know what song this is" and then 10-15 mins later you have the song or a listing of songs that it could of been.
​
It's not an ideal solution for real-time but the amount of times I have given up trying to fingerprint a song due to poor conditions is insane and I wouldn't mind buying premium for such a feature.
| null |
0
|
1545084990
|
False
|
0
|
ec08myy
|
t3_a6k3qb
| null | null |
t1_ebyr1vp
|
/r/programming/comments/a6k3qb/how_shazam_works_audio_fingerprinting_and_indexing/ec08myy/
|
1547740688
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
[deleted]
|
None
|
[deleted]
| null |
0
|
1543932544
|
1545668920
|
0
|
eb2gqil
|
t3_a30s0l
| null | null |
t3_a30s0l
|
/r/programming/comments/a30s0l/whats_left_of_nosql/eb2gqil/
|
1547004788
|
5
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
sprechen_deutsch
|
t2_yf89j
|
> the felony of lying
lYiNg Is A fElOnY!1
Imagine having so little imagination that this is the first thing you think of. Disobeying "federal agents at the border". Hahaha
| null |
0
|
1545085119
|
False
|
0
|
ec08src
|
t3_a73l9e
| null | null |
t1_ec06x1w
|
/r/programming/comments/a73l9e/a_windows_program_to_hide_a_section_of_a_drive/ec08src/
|
1547740759
|
22
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
[deleted]
|
None
|
[deleted]
| null |
0
|
1543932924
|
False
|
0
|
eb2h43k
|
t3_a2vq8j
| null | null |
t3_a2vq8j
|
/r/programming/comments/a2vq8j/a_programmers_introduction_to_mathematics_new_book/eb2h43k/
|
1547004956
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
[deleted]
|
None
|
[deleted]
| null |
0
|
1545085308
|
False
|
0
|
ec0915m
|
t3_a6f5bk
| null | null |
t1_ebyup8k
|
/r/programming/comments/a6f5bk/the_best_programming_advice_i_ever_got_2012/ec0915m/
|
1547740893
|
0
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
aldacron
|
t2_dlhk
|
Liran Zvibel is a co-founder and the CEO of WekaIO. Matrix, the company's file system, has been attracting notice and winning awards. In this interview, Liran talks about Matrix and the company's usage of D in its development.
| null |
0
|
1543932927
|
1543934075
|
0
|
eb2h472
|
t3_a3106x
| null | null |
t3_a3106x
|
/r/programming/comments/a3106x/interview_liran_zvibel_of_wekaio/eb2h472/
|
1547004956
|
7
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Canthros
|
t2_mlypa
|
> And you attack complete strangers on the internet based on nothing at all but your fear of the SJWs.
It's probably got more to do with your acting like a raging asshole. Decently mannered people do not make a habit of referring to others as 'it' or 'the [...] freak', whether they agree with the other person or not.
| null |
0
|
1545085356
|
False
|
0
|
ec0937v
|
t3_a6xy9s
| null | null |
t1_ebzxt0e
|
/r/programming/comments/a6xy9s/sjwjs/ec0937v/
|
1547740920
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
hellvinator
|
t2_io603
|
Ever been to an event that shows tweets on a projector? Embedded stuff on a stream? This stuff usually works. Now ga and piss some people off :)
(You did not have this from me)
| null |
0
|
1543933038
|
False
|
0
|
eb2h8b9
|
t3_a2way5
| null | null |
t3_a2way5
|
/r/programming/comments/a2way5/this_is_why_you_sanitize_user_input_chat_hacked/eb2h8b9/
|
1547005007
|
9
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
[deleted]
|
None
|
[removed]
| null |
0
|
1545085370
|
False
|
0
|
ec093t1
|
t3_a6jk2a
| null | null |
t3_a6jk2a
|
/r/programming/comments/a6jk2a/improving_lua_performance_using_baked_functions/ec093t1/
|
1547740926
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
phatskat
|
t2_cvcxl
|
My favorite was when one of the higher ups had a “sister site” created by some low budget dev farm on a home spun CMS. He came by the dev department, told us about his “amazing new site”, and asked us to try our best to break it. NOTHING was sanitized. We found we could literally drag entire web pages into any text field and all of the HTML would render. Then we found out that the latest comments would display on the home page. We copied the HTML for Wikipedia’s page on XSS and put it any field we could find.
About an hour later we all got reprimands and I had to sign a document admitting I had attempted to harm the company. Apparently, when he told us to break it, the CEO was *demoing said new site to our top clients*. No one else signed the damn document and I shouldn’t have, but I was young and naive in the business world at the time.
Not long after we had a big dev meeting where they revealed that a secret dev team, in another location, had rewritten our current app (PHP/Postgres) in Cold Fusion and SQL Server. It was a mess and we promptly all jumped ship for greener pastures.
| null |
0
|
1543933043
|
False
|
0
|
eb2h8ic
|
t3_a2way5
| null | null |
t1_eb1y41q
|
/r/programming/comments/a2way5/this_is_why_you_sanitize_user_input_chat_hacked/eb2h8ic/
|
1547005010
|
163
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
WhereAreWeNowAnon
|
t2_rxns10g
|
>too slow, too inflexible and too busy having babies
Also they don't want workers trying to unionize, so they maintain a flow of young, exploitable labor and eject those who will start to question the status quo, which coincidentally comes with age.
| null |
0
|
1545085375
|
False
|
0
|
ec09417
|
t3_a70hb7
| null | null |
t3_a70hb7
|
/r/programming/comments/a70hb7/in_china_tech_30_is_too_old/ec09417/
|
1547740929
|
11
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
prateeksharma1712
|
t2_2pywnh9y
|
That's the fun, you will never know what is natively made and what is flutterly made. And, in coming future the beta release and main release will have a feature of importing a flutter code to android code as a module.
| null |
0
|
1543933108
|
False
|
0
|
eb2haw8
|
t3_9zpn0h
| null | null |
t1_eabcfdz
|
/r/programming/comments/9zpn0h/flutter_the_good_the_bad_and_the_ugly/eb2haw8/
|
1547005039
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
dpkonofa
|
t2_35893
|
I noticed that the paperback is now already on sale. Does that come out of Amazon's cut or out of the author's? I'd buy it now if it comes out of Amazon's cut but I don't want to further deprive the author. Maybe I'll just buy the ebook on top of it...
| null |
0
|
1545085383
|
False
|
0
|
ec094dw
|
t3_a4m0rb
| null | null |
t3_a4m0rb
|
/r/programming/comments/a4m0rb/game_engine_black_book_doom/ec094dw/
|
1547740934
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Eirenarch
|
t2_46hjd
|
You never ever "sanitize" user input. This is NEVER what you want. You escape/encode user input when showing it. If you are not sure that you will be able to escape everything and are scared and want to prevent some input then for fucks sake DISALLOW this input, don't sanitize it. Sanitizing is bullshit which lame developers do and then you post a piece of code as a comment and the code is gone and your comment looks stupid because half of it is missing.
| null |
0
|
1543933278
|
False
|
0
|
eb2hh41
|
t3_a2way5
| null | null |
t3_a2way5
|
/r/programming/comments/a2way5/this_is_why_you_sanitize_user_input_chat_hacked/eb2hh41/
|
1547005116
|
12
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
combinatorylogic
|
t2_iab4d
|
So, pointing out a staggering ignorance of someone who dares to pretend to be a "professional" is somehow "awful" now? Really?
In fact, it's you who should be ashamed of yourself. You're ignorant and dumb, and yet, you have a nerve to voice an utterly disgusting, evidently false opinion in public.
| null |
0
|
1545085829
|
False
|
0
|
ec09oa4
|
t3_a61to1
| null | null |
t1_ec053ld
|
/r/programming/comments/a61to1/write_your_own_virtual_machine/ec09oa4/
|
1547741180
|
0
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
13steinj
|
t2_i487l
|
With respect, those pushes are things the majority of users like and cheer for.
| null |
0
|
1543933302
|
False
|
0
|
eb2hi0c
|
t3_a2vv0d
| null | null |
t1_eb1xg5t
|
/r/programming/comments/a2vv0d/microsoft_is_building_a_chromiumpowered_web/eb2hi0c/
|
1547005127
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
[deleted]
|
None
|
[deleted]
| null |
0
|
1545086105
|
False
|
0
|
ec0a07r
|
t3_a72ued
| null | null |
t3_a72ued
|
/r/programming/comments/a72ued/sorting_strings_properly_is_stupidly_hard/ec0a07r/
|
1547741326
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
justavault
|
t2_11i0hu
|
Doesn't work with normal twitch chat. It's the way he grabs it or how does this work?
| null |
0
|
1543933339
|
False
|
0
|
eb2hjct
|
t3_a2way5
| null | null |
t3_a2way5
|
/r/programming/comments/a2way5/this_is_why_you_sanitize_user_input_chat_hacked/eb2hjct/
|
1547005144
|
5
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
_tpr_
|
t2_12xjw0
|
Then you have a project management problem, not a code problem. You would work through it the same ways you work through other project management problems.
| null |
0
|
1545086156
|
False
|
0
|
ec0a2eh
|
t3_a6f5bk
| null | null |
t1_ebw9br3
|
/r/programming/comments/a6f5bk/the_best_programming_advice_i_ever_got_2012/ec0a2eh/
|
1547741354
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
jinchuika
|
t2_exl88
|
> transformed our {{noun}}.
I read that as \_transformed our \*\*nun\*\*\_, so that's probably something I haven't heard about any programming language
| null |
0
|
1543933454
|
False
|
0
|
eb2hnq3
|
t3_a2jrs4
| null | null |
t1_eazp8y1
|
/r/programming/comments/a2jrs4/every_clojure_talk_ever/eb2hnq3/
|
1547005227
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Sleakes
|
t2_d58d0
|
doesn't transforming the original data introduce the possibility for a lot more complex and pernicious bugs than just writing the actual algorithm out?
and isn't the major benefit of test coverage to cover exactly this type of stuff?
| null |
0
|
1545086175
|
False
|
0
|
ec0a396
|
t3_a70qqn
| null | null |
t3_a70qqn
|
/r/programming/comments/a70qqn/special_cases_are_a_code_smell/ec0a396/
|
1547741364
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
anttirt
|
t2_3370w
|
No, that's not what the parameterized API does at all.
There is a binary length-prefixed protocol where the query string is transmitted *separately* from the parameters, which are also length-prefixed.
The parameters *never* become a part of the string, not in the SQL client, and not even in the SQL server. The server loads and parses the original query string *with the placeholders*, and then when it has an in-memory structure representation of the query, it applies the parameters from the binary protocol to that in-memory structure.
If you `query("SELECT foo FROM bar WHERE x = $1", "baz")`, the string `x = 'baz'` will never exist anywhere!
SQL injection is the result of embedding incorrectly encoded parameters in the query string, but parameterized queries never embed the value into the string in the first place, thus making SQL injections simply not apply at all.
| null |
0
|
1543933524
|
False
|
0
|
eb2hqf9
|
t3_a2way5
| null | null |
t1_eb2g4sm
|
/r/programming/comments/a2way5/this_is_why_you_sanitize_user_input_chat_hacked/eb2hqf9/
|
1547005260
|
12
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
gnagatomo
|
t2_h81g7
|
This is relevant if you factor bad design decisions out of the equation. Too many times I had to ship features without some visible and meaningful fail state because the designer and/or product owner didn't thought that the system could enter some fail state and the release date was to close to go back and design/decide what the user should do. And I'm not talking about unhandled exceptions in code, but about "user's permissions and some specific setting that may result in privilege escalation" type of problem. I know that it's the developer's job to handle errors, but, in the case told in the video, what should the developer do? Take decisions about the system's design and workflow? It is plausible in some small business, but almost unthinkable in big corporations, where small decisions can cost literally millions of dollars.
| null |
0
|
1545086201
|
False
|
0
|
ec0a4e5
|
t3_a719k6
| null | null |
t3_a719k6
|
/r/programming/comments/a719k6/the_consequences_of_your_code_tom_scott/ec0a4e5/
|
1547741407
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
hasen-judy
|
t2_2j2as8va
|
> You don't reduce complexity by just writing the same thing yourself. Sure you understand it better, but for the next developer it's just another thing they have to learn.
Assuming you're writing (more or less) the same thing, yes. The whole point is that you're not writing the same thing. You're implementing a version of the solution tailored to your situation, instead of using a generalized solution that comes with lots of extra baggage and can break in many ways that have nothing to do with what you want.
> I'm a Java dev; the ecosystem is generally really high quality and very mature.
I'm not a Java dev, and I don't know how to assess your sense of quality. However, when I did some Android development, and I found the ecosystem quite terrible. Gradle takes _several minutes_ to compile a small code base, and it's considered "cutting edge" and "state of the art".
> I mean; are you going to write your own ORM? I sure hope not.
I don't use ORMs and I would advocate against using them.
The only thing I need is mapping a query to a struct (or a data class or a "POJO" in Java lingo).
I think hiding SQL queries behind an ORM is a bad idea and lowers the quality of the product. Just write plain SQL.
| null |
0
|
1543933834
|
False
|
0
|
eb2i2hw
|
t3_a2ml49
| null | null |
t1_eb06iqx
|
/r/programming/comments/a2ml49/going_frameworkless_why_you_should_try_web_dev/eb2i2hw/
|
1547005409
|
0
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Tiver
|
t2_36v5i
|
Plus that 20% means introducing minimal new technical debt or at least recognizing properly the future burden you are creating. One group in my company continually produces new technical debt. They've taken on to tack tech debt with 20% of their time, but if they don't also fix their tendency to introduce new technical debt then they'll sink faster than they're bailing themselves out.
| null |
0
|
1545086221
|
False
|
0
|
ec0a59v
|
t3_a6z75x
| null | null |
t1_ebz3hmc
|
/r/programming/comments/a6z75x/three_tips_for_managing_technical_debt_while/ec0a59v/
|
1547741418
|
7
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
bautin
|
t2_3cri3
|
I'm not reading anything you didn't write. I'm not going super deep on it. Just because someone suggests maybe you weren't blameless doesn't mean you need to trivialize their criticism.
| null |
0
|
1543933837
|
False
|
0
|
eb2i2ll
|
t3_a2p0j9
| null | null |
t1_eb1zo3a
|
/r/programming/comments/a2p0j9/must_be_willing_to_work_under_pressure_is_a/eb2i2ll/
|
1547005410
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Jarmahent
|
t2_7wei5
|
Hehe he wants to get hired.
| null |
0
|
1545086410
|
False
|
0
|
ec0adki
|
t3_a6r0ka
| null | null |
t1_ebxz1sf
|
/r/programming/comments/a6r0ka/concord_how_i_built_a_screen_sharing_application/ec0adki/
|
1547741521
|
4
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Wasseratem
|
t2_e7618
|
This is so funny, because I know Dan, the developer of this addon of twitch. I say the code and it was like perfect on the one side (e.g. a lot of UnitTests) and so bad on the other side (like this, and I knew a bunch of additional 'features' in this )
| null |
0
|
1543933879
|
False
|
0
|
eb2i48q
|
t3_a2way5
| null | null |
t3_a2way5
|
/r/programming/comments/a2way5/this_is_why_you_sanitize_user_input_chat_hacked/eb2i48q/
|
1547005430
|
6
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Benjamin-FL
|
t2_sval6
|
Current webassembly is even more sandboxed than javascript is, from what I understand. Do you also have javascript disabled?
| null |
0
|
1545086436
|
False
|
0
|
ec0aert
|
t3_a6zxou
| null | null |
t1_ec08izj
|
/r/programming/comments/a6zxou/sandspiel_a_falling_sand_game_built_in_rust_and/ec0aert/
|
1547741535
|
8
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
[deleted]
|
None
|
Because it's using a bulldozer to kill an ant.
Here is another idea, instead of reconstructing a world by rendering polygons as taught from video, why not learn to construct a world by orienting handcrafted, high fidelity models.
Oh noes. Downvoted but no reply as to why as expected.
| null |
0
|
1543933897
|
1543953633
|
0
|
eb2i4xe
|
t3_a2zftr
| null | null |
t1_eb2bavk
|
/r/programming/comments/a2zftr/the_first_interactive_ai_rendered_virtual_world/eb2i4xe/
|
1547005439
|
-9
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
exorxor
|
t2_h57gcb9
|
Try to complete a sentence and then perhaps there is something to discuss.
| null |
1
|
1545086515
|
False
|
0
|
ec0ai6q
|
t3_a66f6u
| null | null |
t1_ebywcx2
|
/r/programming/comments/a66f6u/uncle_bob_sjwjs/ec0ai6q/
|
1547741578
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
AngularBeginner
|
t2_eky8x
|
https://www.reddit.com/r/programming/comments/a2ybqo/
Quoting myself:
> Most articles nowadays copy each other.
| null |
0
|
1543933899
|
False
|
0
|
eb2i50l
|
t3_a313x9
| null | null |
t3_a313x9
|
/r/programming/comments/a313x9/microsoft_building_new_chromebased_browser_to/eb2i50l/
|
1547005440
|
21
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
eigenman
|
t2_3kiki
|
Ok spent way too much time playing with this. lol very cool particle and physics simulator.
| null |
0
|
1545086563
|
False
|
0
|
ec0ak8g
|
t3_a6zxou
| null | null |
t3_a6zxou
|
/r/programming/comments/a6zxou/sandspiel_a_falling_sand_game_built_in_rust_and/ec0ak8g/
|
1547741603
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
BRO_NORMAL
|
t2_2pb1pnid
|
Why are Top3 apps from Facebook?
| null |
0
|
1543933936
|
False
|
0
|
eb2i6gb
|
t3_a30wsv
| null | null |
t3_a30wsv
|
/r/programming/comments/a30wsv/top_react_native_mobile_apps_in_2018/eb2i6gb/
|
1547005458
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
jiakuan
|
t2_5a2lb
|
I see. Document Node already supports a few mind map layouts, including org-mode:
* Standard (as shown in the link I posted, which puts the root node in the center)
* Downward - this should be the org-mode you mentioned. It puts the root node on top.
* Leftward - this layout puts root node on the right side.
* Rightward - this layout puts the root node on the left side.
When you say "share subtrees in a nice inline fashion", does it mean you want to select a subtree and share it as an embedded image (SVG, or PNG, or JPG)?
| null |
0
|
1545086676
|
False
|
0
|
ec0ap57
|
t3_a6rl3k
| null | null |
t1_ebzoz7k
|
/r/programming/comments/a6rl3k/be_more_creative_on_writing_by_using_a_mind_map/ec0ap57/
|
1547741664
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Corrupteddiv
|
t2_mp8rf
|
Like we said many times, the UWP apps has many states for improve the performance and the energy usage:** Active, suspended and background**. The Keyword here is "CACHE", one of the advantages of UWP is that it can be cached but **also can restore almost in the instant the app without affect the user experience**, even in low-specs devices.
- **Active**: The UWP is in the first plane, usually maximized and actively using resource. Nothing strange here, because the Win32 apps already work similar here. But there is a detail, **depending of the hardware limitations, for example low amount of RAM and depending of the developer, UWP apps can cache themselves in real time**. For now, the best app that i've seen for this, is Groove Music in device with ~1GB RAM, because the app will use the RAM needed when you're navigating the library for example. But if you go to the "Now playing" section, you will note that the RAM reduces significatively, because it's caching the UX elements like the apps' shell and the pictures' albums. But, this behavior isn't happening if the device has many RAM available.
- **Suspended**: The app caches its RAM and usually decreases its CPU and I/O usage. An app enters in this state usually under certain conditions, the most frequent is minimize the app. Also, can happen if the app is full open yet, but there is another app in forefront (Active). Now, the amount of time that require to pass for the app goes to suspension was hardware-related (Like the amount of RAM). But last night, I was doing some test in 1809 and almost every app is suspended when some seconds after of minimize. **When the app is minimized, it caches almost every asset in certain memory's region of Windows**. Maybe that memory is compressed, for another apps to use this memory "free". Now, like I said, **the cache can be restored very fast in UWP apps**. Also, two details more. The first is that looks like that the developers can decide if the app can enter to this state. With Groove Music again, I can see it suspending in devices with ~1GB RAM. With more, in fact, it doesn't use the suspended state if minimized. Some UWP games avoid the cache also. The second detail is that even when the app is suspended, it can keep using it. Groove Music again, cache almost every RAM, but it can keep playing music yet.
- **Background**: Well, the name is obvious here, the open isn't opened, but it can be doing some task in background. Windows handles this with a thing called App Broker. Usually the UWP apps using this when the share dialog is invoked, Mypeople in the taskbar is configured, for notifications on action center, and many things more.
For last, Windows sometimes keep cache for apps even if they aren't open. After boot or when you just closed them. This cache helps to open again the app very fast. The best example here is the Photos app, when you open it, it takes many time to load the library. But with this cache the process is very fast (Leaving aside that this app needs optimization).
I can demonstrate many things that I've explained here, then I'm going to make a simple video for this soon.
| null |
0
|
1543933947
|
False
|
0
|
eb2i6vj
|
t3_a2b8u4
| null | null |
t1_eb0kkei
|
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eb2i6vj/
|
1547005464
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
gott_modus
|
t2_j2d1j
|
>It's then scaled up to give the illusion of a higher pixel count.
Are you sure about this?
| null |
0
|
1545086776
|
False
|
0
|
ec0atmu
|
t3_a6zxou
| null | null |
t1_ec05luc
|
/r/programming/comments/a6zxou/sandspiel_a_falling_sand_game_built_in_rust_and/ec0atmu/
|
1547741719
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
LateHuckleberry9
|
t2_3h55iyo
|
I still can't figure out how to create 1) a type inhabited only by primes 2) a type inhabited only by positive integers and 3 a function that goes from Prime => PositiveInt. (In order to prove that all primes are positive ints)
| null |
0
|
1543934015
|
False
|
0
|
eb2i9m8
|
t3_a2s08c
| null | null |
t3_a2s08c
|
/r/programming/comments/a2s08c/the_little_typer_lets_learn_about_dependent_types/eb2i9m8/
|
1547005497
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
mongopeter
|
t2_59mwa
|
No problem :) but now minimumLength is not really accurate anymore 🙈
| null |
0
|
1545086843
|
False
|
0
|
ec0awkv
|
t3_a6sude
| null | null |
t1_ec04upj
|
/r/programming/comments/a6sude/naming_things/ec0awkv/
|
1547741755
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
upsetbob
|
t2_b4jde
|
Drag and drop the link into the bookmark bar
| null |
0
|
1543934031
|
False
|
0
|
eb2ia8o
|
t3_a2way5
| null | null |
t1_eb1ypvx
|
/r/programming/comments/a2way5/this_is_why_you_sanitize_user_input_chat_hacked/eb2ia8o/
|
1547005505
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
birdbrainswagtrain
|
t2_car4b
|
If you do any research at all (like reading the thing you linked to) you'll see that string collation differs by language and even by specific uses within a language. Real life is complicated.
| null |
0
|
1545086975
|
False
|
0
|
ec0b2ar
|
t3_a72ued
| null | null |
t3_a72ued
|
/r/programming/comments/a72ued/sorting_strings_properly_is_stupidly_hard/ec0b2ar/
|
1547741833
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
GoTriggerYourself
|
t2_o9lcl
|
Yeah, sorry, you're right about that. It will not be encoded to a string, but it *will* get encoded according to the rules of the binary package. My point is that it will not be sanitized, it will just be encoded to the expected format.
| null |
0
|
1543934055
|
False
|
0
|
eb2ib96
|
t3_a2way5
| null | null |
t1_eb2hqf9
|
/r/programming/comments/a2way5/this_is_why_you_sanitize_user_input_chat_hacked/eb2ib96/
|
1547005517
|
-3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
foxh8er
|
t2_60e80
|
It *absolutely* means they're smarter and more accomplished than someone that didn't compared to *nearly everybody*.
It means they're 100% smarter than an equivalent level engineer at IBM, or Oracle, or Cisco, or today Amazon.
| null |
0
|
1545087008
|
False
|
0
|
ec0b3pp
|
t3_a6nfgh
| null | null |
t1_ebz2avq
|
/r/programming/comments/a6nfgh/things_nobody_told_me_about_being_a_software/ec0b3pp/
|
1547741850
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Corrupteddiv
|
t2_mp8rf
|
The thing works different than you think. I'll make a video soon to show this energy throttling in UWP apps. UWP apps cached/suspended can keep doing process yet.
| null |
0
|
1543934067
|
False
|
0
|
eb2ibrc
|
t3_a2b8u4
| null | null |
t1_eb0ovfv
|
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eb2ibrc/
|
1547005524
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
mypetocean
|
t2_bcmar
|
Java is a horrible experience for RegEx work.
| null |
0
|
1545087089
|
False
|
0
|
ec0b794
|
t3_a6ufoy
| null | null |
t1_ebz1ajv
|
/r/programming/comments/a6ufoy/i_wrote_a_python_program_to_calculate_the_most/ec0b794/
|
1547741894
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
jiffier
|
t2_cx0s7
|
I press WIN + 4 to get F4, and Shif+Win+6 for Shift-F6. The switch to a 60% keyboard was easier than I thought, and now when I have to use a "normal" keyboard, I don't find the keys, or they feel located very far away
| null |
0
|
1543934069
|
False
|
0
|
eb2ibt1
|
t3_a30gcq
| null | null |
t1_eb2gb08
|
/r/programming/comments/a30gcq/a_look_at_the_ultimate_hacking_keyboard/eb2ibt1/
|
1547005524
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Agent_03
|
t2_fvner
|
> That the best technology doesn’t necessarily win. In fact, it often doesn’t.
Because the best technology is just a means to an end.
I see the opposite problem too: companies forget their customers in their desire to apply hot technologies, whether they make sense in the context or not.
| null |
0
|
1545087091
|
False
|
0
|
ec0b7cr
|
t3_a6nfgh
| null | null |
t1_ebxpsuy
|
/r/programming/comments/a6nfgh/things_nobody_told_me_about_being_a_software/ec0b7cr/
|
1547741896
|
4
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
TheSnaggen
|
t2_lovpr
|
Well, I guess the 60% keyboard layout might be a showstopper in some cases. However, you might be able to fix this by either remap the functionality in intellij, or reprogram the keyboard. You would probably end up with a modifier, but Mod is on left thumb, so Mod+4 (which is default for F4) is probably not that bad. Then you could either change Mod+6 to send Shift+F6, or choose another modifier like Mouse or Fn to keep the original F6 preserved. Being able to reprogram the keyboard is really awesome. However, if you really need your F-keys, then this keyboard is not for you. Even if they call it the Ultimate, I think there really is no Ultimate. We all have different preferences, and that is ok.
| null |
0
|
1543934106
|
False
|
0
|
eb2idac
|
t3_a30gcq
| null | null |
t1_eb2gb08
|
/r/programming/comments/a30gcq/a_look_at_the_ultimate_hacking_keyboard/eb2idac/
|
1547005542
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
eigenman
|
t2_3kiki
|
I was looking my cpu when this thing was running. Much more efficient than I thought it would be.
| null |
0
|
1545087177
|
False
|
0
|
ec0bb97
|
t3_a6zxou
| null | null |
t1_ebzirpy
|
/r/programming/comments/a6zxou/sandspiel_a_falling_sand_game_built_in_rust_and/ec0bb97/
|
1547741943
|
9
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
ariasaurus
|
t2_20d1fgfc
|
He has some custom bot that's reading his chat, probably to make his overlay or provide some service to his chat.
| null |
0
|
1543934108
|
False
|
0
|
eb2idcz
|
t3_a2way5
| null | null |
t1_eb2hjct
|
/r/programming/comments/a2way5/this_is_why_you_sanitize_user_input_chat_hacked/eb2idcz/
|
1547005544
|
16
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
[deleted]
|
None
|
[deleted]
| null |
0
|
1545087211
|
1545145597
|
0
|
ec0bcsf
|
t3_a71ccv
| null | null |
t1_ebzvhg1
|
/r/programming/comments/a71ccv/google_amp_case_study_leads_dropped_by_59_how_to/ec0bcsf/
|
1547741962
|
11
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
analXtravaganza
|
t2_6xz92sz
|
VS Code and Atom both use Chromium as their runtime via Electron. I'd say it's likely these commits might reflect upcoming support for VS Code on ARM64 (at least, it's definitely more likely than MS dropping a browser after three years and millions of dollars invested).
| null |
0
|
1543934355
|
False
|
0
|
eb2inc1
|
t3_a2ybqo
| null | null |
t1_eb23wv7
|
/r/programming/comments/a2ybqo/rip_the_web_19892019_microsoft_is_building_a/eb2inc1/
|
1547005667
|
9
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Justcameforthememes
|
t2_2seqrc4q
|
The interactions are really cool.
| null |
0
|
1545087212
|
False
|
0
|
ec0bcu8
|
t3_a6zxou
| null | null |
t3_a6zxou
|
/r/programming/comments/a6zxou/sandspiel_a_falling_sand_game_built_in_rust_and/ec0bcu8/
|
1547741963
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
nutrecht
|
t2_dlu5l
|
> I'm not a Java dev, and I don't know how to assess your sense of quality. However, when I did some Android development, and I found the ecosystem quite terrible.
That's not the same ecosystem for the most part I'm afraid.
> I think hiding SQL queries behind an ORM is a bad idea and lowers the quality of the product. Just write plain SQL.
I agree but that was not the point: frameworks contain a lot of 'stuff' you need. Reimplementing everything you will end up with something close to what you would've started with.
Don't forget that frameworks are generally modular. You don't need to use Spring Security or Spring Data JPA for example, you can pick and choose the bits you need.
| null |
0
|
1543934605
|
False
|
0
|
eb2ixbo
|
t3_a2ml49
| null | null |
t1_eb2i2hw
|
/r/programming/comments/a2ml49/going_frameworkless_why_you_should_try_web_dev/eb2ixbo/
|
1547005819
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
combinatorylogic
|
t2_iab4d
|
> code that is doing business work needs comments.
So, you're saying you have code that does not do business work, right? What's the point in a code that does not perform any meaningful function?
> Glue code that is opening up resources / closing resources should just be named correctly it's easy enough to understand what's going on from there.
It's a boilerplate code, which either should not exist at all (in an ideal scenario), or be absolutely minimal.
> My opinion on this is slightly biased though and I want to point out this is for application code
Since we're talking about business requirements, it's sort of obvious anyway.
> HOWEVER I do think that methods that are large and encompassing hundreds of lines of code are highly suspect of code smell and should be vetted
If your *story* that code is telling is naturally long, it should stay long. Do not break it up - it'll become unreadable.
Of course, if there is some boilerplate leaking from a different layer of abstraction, it should not be there at all.
| null |
0
|
1545087368
|
False
|
0
|
ec0bjqk
|
t3_a70crz
| null | null |
t1_ec080zk
|
/r/programming/comments/a70crz/stop_learning_frameworks/ec0bjqk/
|
1547742068
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
vanderzac
|
t2_4j9oe
|
Most spa frameworks range from 600kb to 2mb, and the .net runtime is in that range too. They'll keep bringing the size down in pieces, and bandwidth is going up massively as 5g rolls out over the next few years.
| null |
0
|
1543934694
|
False
|
0
|
eb2j0x5
|
t3_a2vv0d
| null | null |
t1_eb1ydgb
|
/r/programming/comments/a2vv0d/microsoft_is_building_a_chromiumpowered_web/eb2j0x5/
|
1547005863
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
chucker23n
|
t2_39t9i
|
>We, of course, publish a lot of content, but our primary focus is still on generating leads and signing up customers.
Far be it for me to defend AMP, but here's a "lead" for you: I don't think _AMP_ is your problem.
| null |
0
|
1545087515
|
False
|
0
|
ec0bq5r
|
t3_a71ccv
| null | null |
t3_a71ccv
|
/r/programming/comments/a71ccv/google_amp_case_study_leads_dropped_by_59_how_to/ec0bq5r/
|
1547742148
|
17
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
bautin
|
t2_3cri3
|
Do you read like half of everything?
I'm not saying either is right or wrong because I don't know. I'm saying he's playing both sides of the debate depending on which benefits him the most.
You're also claiming he had "technical expertise" when he said it was his first job.
He used the exact same argument as his boss as to why his estimate should be longer. He used the exact same argument as his boss as to why the boss's estimate should be shorter. You don't see the issue there? Yes, that place was full of dysfunction.
| null |
0
|
1543934717
|
False
|
0
|
eb2j1vl
|
t3_a2p0j9
| null | null |
t1_eb1lf6p
|
/r/programming/comments/a2p0j9/must_be_willing_to_work_under_pressure_is_a/eb2j1vl/
|
1547005875
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
foxh8er
|
t2_60e80
|
Well, I'll just assume you work at Bob's Wordpress and Flash Games emporium because generally the pissiest people about PC shit are the biggest fucking failures
| null |
0
|
1545087766
|
False
|
0
|
ec0c11i
|
t3_a6nfgh
| null | null |
t1_eby7bi9
|
/r/programming/comments/a6nfgh/things_nobody_told_me_about_being_a_software/ec0c11i/
|
1547742283
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
rnd005
|
t2_z8qyg
|
Could cameras sign images before returning it to the OS?
| null |
0
|
1543934815
|
False
|
0
|
eb2j5q0
|
t3_a2zftr
| null | null |
t1_eb2aao0
|
/r/programming/comments/a2zftr/the_first_interactive_ai_rendered_virtual_world/eb2j5q0/
|
1547005926
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
OneWingedShark
|
t2_bx7wh
|
>Both aerospace and microcontrollers are extremely niche. Unless you want to go into a niche field like that, these languages have no relevant value. They aren't even applicable to learning as a beginner.
Microcontrollers are all over the place! Calling them 'niche' is pretty ridiculous. Yes, there aren't quite as many jobs as "everybody and their uncle needs a homepage"/"oh, you know HTML?" webdevelopment, but what is? (And, arguably, ***all*** mobile-/phone-app is "microcontroller" -- it depends very much on what definition you're using -- and the possible blurring of definition is due to how technologically wealthy we are, rather than anything else.)
>There's a reason codecamps exist focusing on specific languages like JavaScript. You know why? Because it will get people jobs.
...did you fail to read what I said? Let me quote it for you: ***I was talking about learning, ie education, not employability or fads***.
| null |
0
|
1545087983
|
False
|
0
|
ec0ca8a
|
t3_a706es
| null | null |
t1_ec075s8
|
/r/programming/comments/a706es/5_programming_languages_to_learn_in_2019/ec0ca8a/
|
1547742397
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
hippopotomonstro_etc
|
t2_6r8m5
|
My guess would be that it's because Facebook maintains React.
​
EDIT: Also, it's the top 4, Insta is a FB property.
| null |
0
|
1543935092
|
False
|
0
|
eb2jgqd
|
t3_a30wsv
| null | null |
t1_eb2i6gb
|
/r/programming/comments/a30wsv/top_react_native_mobile_apps_in_2018/eb2jgqd/
|
1547006064
|
5
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Nonethewiserer
|
t2_4emr7
|
A low average age doesn't mean older people are systematically discriminated against.
| null |
0
|
1545088141
|
False
|
0
|
ec0cgzw
|
t3_a70hb7
| null | null |
t1_ebzsya0
|
/r/programming/comments/a70hb7/in_china_tech_30_is_too_old/ec0cgzw/
|
1547742480
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
justavault
|
t2_11i0hu
|
ahhh now it makes sense. Thanks man.
| null |
0
|
1543935096
|
False
|
0
|
eb2jgvu
|
t3_a2way5
| null | null |
t1_eb2idcz
|
/r/programming/comments/a2way5/this_is_why_you_sanitize_user_input_chat_hacked/eb2jgvu/
|
1547006066
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
shared_makes_it_real
|
t2_wvcqaot
|
You forced someone to publish their personal code of conduct to a public forum and then are complaining that they did so. First you wanted every repo to have a CoC, now you want a particular brand of CoC, next you'll want an authoritative body who reviews CoCs and last there will be a revolt to the cry "Freedom of CoC."
| null |
0
|
1545088220
|
False
|
0
|
ec0ckcb
|
t3_a6i85m
| null | null |
t1_ebyvj5x
|
/r/programming/comments/a6i85m/openjdk_bug_report_complains_source_code_has_too/ec0ckcb/
|
1547742521
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
diggr-roguelike2
|
t2_13327ggz
|
Two points: a) a testing environment is not the dev environment, b) you're gonna be deploying on the production environment, and your boss won't give a shit if it "works on my machine".
| null |
0
|
1543935323
|
False
|
0
|
eb2jq5d
|
t3_a2b4n9
| null | null |
t1_eb2c8d4
|
/r/programming/comments/a2b4n9/abner_coimbre_nasa_engineer_on_jai_language/eb2jq5d/
|
1547006180
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
brandit_like123
|
t2_17dc68
|
Could you recommend a good crypto system that has the deniability feature? Is TrueCrypt good?
| null |
0
|
1545088242
|
False
|
0
|
ec0cl90
|
t3_a73l9e
| null | null |
t1_ec04ytc
|
/r/programming/comments/a73l9e/a_windows_program_to_hide_a_section_of_a_drive/ec0cl90/
|
1547742532
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
MINDMOLESTER
|
t2_840pd
|
This would be interesting and possibly essential in the near future. Unfortunately, most people wouldn't understand how secure this could be - might not trust it.
| null |
0
|
1543935330
|
False
|
0
|
eb2jqfn
|
t3_a2zftr
| null | null |
t1_eb2j5q0
|
/r/programming/comments/a2zftr/the_first_interactive_ai_rendered_virtual_world/eb2jqfn/
|
1547006184
|
-1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
springsprint
|
t2_13abo8
|
Found [something](https://www.amazon.com/Alvin-1242-5-Isometric-100-Sheet-inches/dp/B000HF6ZE8) on amazon; but one could also [generate it online](https://www.waterproofpaper.com/graph-paper/isometric-paper.shtml) and print it at his own leisure.
| null |
0
|
1545088248
|
1545093459
|
0
|
ec0clhl
|
t3_a71xg6
| null | null |
t1_ebzxor1
|
/r/programming/comments/a71xg6/the_yoda_of_silicon_valley/ec0clhl/
|
1547742536
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
doublehyphen
|
t2_9v5mu
|
Parametrized queries can also be implemented entirely at the client side by the library by just quoting the data. In fact I believe some libraries like Sequel for Ruby can transparently be configured to use either method under the hood.
| null |
0
|
1543935411
|
False
|
0
|
eb2jtqa
|
t3_a2way5
| null | null |
t1_eb2hqf9
|
/r/programming/comments/a2way5/this_is_why_you_sanitize_user_input_chat_hacked/eb2jtqa/
|
1547006224
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
quantifiableNonsense
|
t2_1shi9ft4
|
You can probably find something similar here: https://incompetech.com/graphpaper/
| null |
0
|
1545088272
|
False
|
0
|
ec0cmi4
|
t3_a71xg6
| null | null |
t1_ebzuz8h
|
/r/programming/comments/a71xg6/the_yoda_of_silicon_valley/ec0cmi4/
|
1547742548
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
droidballoon
|
t2_4a5sy
|
Why would someone pick ninja as a nickname... I get it if it was YouTubeNinja or whatever but just plain ninja? That's claiming a lot.
| null |
0
|
1543935435
|
False
|
0
|
eb2juoc
|
t3_a2way5
| null | null |
t1_eb27dh9
|
/r/programming/comments/a2way5/this_is_why_you_sanitize_user_input_chat_hacked/eb2juoc/
|
1547006236
|
4
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
SaphirShroom
|
t2_ogov5
|
KenM, is that you?
| null |
0
|
1545088351
|
False
|
0
|
ec0cpty
|
t3_a61eig
| null | null |
t1_ebtep0y
|
/r/programming/comments/a61eig/types_and_why_you_should_care/ec0cpty/
|
1547742618
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
FineSherbert
|
t2_20rm0ttc
|
I have been waiting for this for a while. It is nice to know it is finally happening! When GCC 9 comes out I might learn D.
| null |
0
|
1543935456
|
False
|
0
|
eb2jvh6
|
t3_a30hg9
| null | null |
t3_a30hg9
|
/r/programming/comments/a30hg9/gcc_9_adds_frontend_support_for_the_d_programming/eb2jvh6/
|
1547006245
|
23
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
wikwikwik
|
t2_2rjyrp4o
|
Not personally, no. But you can google for "deniable encryption".
| null |
0
|
1545088555
|
False
|
0
|
ec0cyj7
|
t3_a73l9e
| null | null |
t1_ec0cl90
|
/r/programming/comments/a73l9e/a_windows_program_to_hide_a_section_of_a_drive/ec0cyj7/
|
1547742726
|
-1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
zom-ponks
|
t2_8fskx
|
That makes more sense.
| null |
0
|
1543935467
|
False
|
0
|
eb2jvwv
|
t3_a2ybqo
| null | null |
t1_eb2inc1
|
/r/programming/comments/a2ybqo/rip_the_web_19892019_microsoft_is_building_a/eb2jvwv/
|
1547006251
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
nerdguy1138
|
t2_d4abw
|
"no slip boundary" as in maximum friction, so it's stuck to the wall, or noclip, so it falls through frictionlessly?
| null |
0
|
1545088584
|
False
|
0
|
ec0czpq
|
t3_a6zxou
| null | null |
t1_ebzbgt4
|
/r/programming/comments/a6zxou/sandspiel_a_falling_sand_game_built_in_rust_and/ec0czpq/
|
1547742740
|
4
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
rabbitlion
|
t2_5unzu
|
> If you query("SELECT foo FROM bar WHERE x = $1", "baz"), the string x = 'baz' will never exist anywhere!
Additionally, the fact that search parameters are broken out of the query string means the database can cache the execution paths of the query and reuse it across multiple searches.
| null |
0
|
1543935519
|
False
|
0
|
eb2jy34
|
t3_a2way5
| null | null |
t1_eb2hqf9
|
/r/programming/comments/a2way5/this_is_why_you_sanitize_user_input_chat_hacked/eb2jy34/
|
1547006278
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
TheBuzzSaw
|
t2_a22vi
|
I hate everything.
| null |
0
|
1545088755
|
False
|
0
|
ec0d6xo
|
t3_a6nfgh
| null | null |
t1_ebzp9w4
|
/r/programming/comments/a6nfgh/things_nobody_told_me_about_being_a_software/ec0d6xo/
|
1547742829
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
TankorSmash
|
t2_4fqx0
|
Surely there's another issue though. Any project with dependencies can have this happen, its just much more likely with this set up, I get it.
What is another issue, because this can't be the only thing. He said it was 'disgusting', which reeks of emotional, baseless criticism.
| null |
0
|
1543935539
|
False
|
0
|
eb2jyyb
|
t3_a2ml49
| null | null |
t1_eb2554t
|
/r/programming/comments/a2ml49/going_frameworkless_why_you_should_try_web_dev/eb2jyyb/
|
1547006288
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
nerdguy1138
|
t2_d4abw
|
There's a game called "war of the hell" (sic) that's a bunch of stick-figures climbing over each other. You control a rope to fling them out of hell, whip style.
| null |
0
|
1545088787
|
False
|
0
|
ec0d89v
|
t3_a6zxou
| null | null |
t1_ebz97qh
|
/r/programming/comments/a6zxou/sandspiel_a_falling_sand_game_built_in_rust_and/ec0d89v/
|
1547742846
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Liam2349
|
t2_h62v4
|
Yes, UWP is very well optimized, and I know all about the application lifecycle. Having read the Microsoft docs on all of this, I don't require a video on it.
UWP has amazing UI performance, and that's the primary reason I like the framework, and is why I find it disappointing that the framework has un-lift-able restrictions.
All UWP apps will suspend when minimized unless you use the rescap I mentioned earlier or some other capability to extend execution time, which may/will prevent Store approval. I don't use Groove, but if it doesn't suspend when minimized, that's because it's using one of these capabilities.
I didn't say that UWP didn't present anything useful. I just think, as I've pretty much said, that any potential power reduction from UWP apps suspending is a moot point vs a WPF app that's idling in the background. What you're describing are low-end optimization techniques regarding memory. You are not describing power consumption of an app that's in the background using no CPU, no GPU, and little memory. You've gone completely off-topic.
| null |
0
|
1543935566
|
False
|
0
|
eb2k02a
|
t3_a2b8u4
| null | null |
t1_eb2i6vj
|
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eb2k02a/
|
1547006302
|
0
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
HalibetLector
|
t2_17d4bn
|
> Decently mannered people do not make a habit of referring to others as 'it' or 'the [...] freak', whether they agree with the other person or not.
The SJWs absolutely do. Have you heard how they refer to white men? It doesn't stop at calling us freaks. They violate federal law and openly threaten to kill us. Have you gotten it through your head yet? You're chiding us for bad manners while they're [calling for our heads](https://www.washingtontimes.com/news/2018/jun/25/judicial-watch-files-house-ethics-complaint-agains/) and [attacking us in the streets](https://www.foxnews.com/us/marines-testify-about-antifa-mob-they-say-attacked-them-in-philadelphia). Where's your outrage for that? Nowhere to be found because you're a hypocrite and a coward. Concern troll somewhere else.
| null |
1
|
1545089077
|
1545089861
|
0
|
ec0dkgo
|
t3_a6xy9s
| null | null |
t1_ec0937v
|
/r/programming/comments/a6xy9s/sjwjs/ec0dkgo/
|
1547742997
|
-2
|
t5_2fwo
|
r/programming
|
public
| null |
Subsets and Splits
Filtered Reddit Uplifting News
The query retrieves specific news articles by their link IDs, providing a basic overview of those particular entries without deeper analysis or insights.
Recent Programming Comments
Returns a limited set of programming records from 2020 to 2023, providing basic filtering with minimal analytical value.