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 | epenthesis | t2_5s920 | They're either incoherent (Open-Closed Principle) or, when taken to their logical conclusion (Single Responsibility, Liskov Substitution, Interface Segregation Principle, Dependency Injection) are basically saying "Write in a typed, functional language with generics". | null | 0 | 1544551575 | False | 0 | ebkrgyv | t3_a56am1 | null | null | t1_ebkcwxo | /r/programming/comments/a56am1/whats_the_deal_with_the_solid_principles_part_2/ebkrgyv/ | 1547479761 | 8 | t5_2fwo | r/programming | public | null |
False | fuckface_academy | t2_81y3c | Looking at the rest of the comments to this article, I get the sense that people are mostly feeling moral outrage.
This is problematic. The front-end community simply does not understand that every race condition will result in an error eventually, and that every network bug will eventually be exploited.
Building sane software systems is your chosen profession. You have to take it seriously. | null | 0 | 1545815544 | False | 0 | eckrvcw | t3_a9hs3u | null | null | t1_ecju67j | /r/programming/comments/a9hs3u/the_ant_design_christmas_egg_that_went_wrong/eckrvcw/ | 1548086425 | 2 | t5_2fwo | r/programming | public | null |
False | tutami | t2_kk0myuy | whats the meaning of reading a post if I can't say nasty shits if I don't agree with you? | null | 0 | 1544551621 | False | 0 | ebkrj6p | t3_a55xbm | null | null | t1_ebklyho | /r/programming/comments/a55xbm/how_the_dreamcast_copy_protection_was_defeated/ebkrj6p/ | 1547479818 | 3 | t5_2fwo | r/programming | public | null |
False | seamsay | t2_1zos4clf | Yeah IMO easter eggs should always have some element of interactivity to them, so that the user isn't blindsided by some mysterious change. I think python's easter eggs (e.g. `import antigravity`) are great examples of easter eggs done well. | null | 0 | 1545815591 | False | 0 | eckrwgb | t3_a9hs3u | null | null | t1_ecki1n2 | /r/programming/comments/a9hs3u/the_ant_design_christmas_egg_that_went_wrong/eckrwgb/ | 1548086439 | 7 | t5_2fwo | r/programming | public | null |
False | jbstjohn | t2_1wtv | Unless you get more specific, or add some correcting information, this comment adds no value. | null | 0 | 1544551621 | False | 0 | ebkrj79 | t3_a55xbm | null | null | t1_ebknxk1 | /r/programming/comments/a55xbm/how_the_dreamcast_copy_protection_was_defeated/ebkrj79/ | 1547479818 | 4 | t5_2fwo | r/programming | public | null |
False | saltybandana | t2_2hallns5 | imo the important point from that talk is that aesthetics and readability are not simplicity. IIRC he makes a point about he can't read German, does that mean German is unreadable?
The point is that yes manual error handling isn't as nice to read, but that doesn't equate to simplicity and simplicity is a big part of how you get stable software.
I haven't been making this argument, but I think it's arguable that in the sense that Rich Hickey meant it, Go error handling is simpler than exceptions due to the control flow being 100% predictable from the code.
Imo people react negatively to Go's error handling because they don't recognize what I said above about simplicity. They look at simplicity as being how nice it is, or how little code you have to write. I've met people like this on actual teams and I always felt they caused problems by trying to stuff everything behind pretty API's. It's where I came up with the idea of the DoIt() function. If all you see in main is a call to DoIt() then it's simple, right?
It's kind of like Ruby/RoR and PHP. The RoR crowd hates PHP with a burning passion. And they're right in a sense, PHP is ugly as sin. It was originally glue code for C so the standard library mimic'd the C standard library. There are sentinels all over the place and a dozen different warts for various reasons.
OTOH, you can flat get shit done in PHP and modern PHP isn't so bad.
But you could never convince the RoR crowd of the advantages of PHP because of their dislike for its warts.
But there are advantages. They see only 1 side of the coin.
That's how I feel about people who have a knee-jerk reaction to Go's lack of generics and manual error handling.
And I'm familiar with Haskell, although I would never claim expertise in it.
Anyways, I think we've said all that needs to be said here.
Happy Holidays :) | null | 0 | 1545815779 | False | 0 | ecks0s7 | t3_a8rptf | null | null | t1_ecj9cui | /r/programming/comments/a8rptf/i_do_not_like_go/ecks0s7/ | 1548086493 | 1 | t5_2fwo | r/programming | public | null |
False | Beaverman | t2_52n9v | Wasn't the PS1 and PS2 the same though? I recall having modded versions of both of them. Most of my friends did too. | null | 0 | 1544551628 | False | 0 | ebkrjih | t3_a55xbm | null | null | t1_ebkimb0 | /r/programming/comments/a55xbm/how_the_dreamcast_copy_protection_was_defeated/ebkrjih/ | 1547479822 | 6 | t5_2fwo | r/programming | public | null |
False | couscous_ | t2_2orqfro0 | With the fixed benchmark it was still faster than golang (<390 ms compared to 460ms), and I didn't try out some of the newer GCs either. That being said, the Java GCs designed for large heaps run concurrently without the need to stop the world, unlike golang's, resulting in better performance. | null | 0 | 1545816047 | False | 0 | ecks6s0 | t3_a9gej5 | null | null | t1_ecjvyw2 | /r/programming/comments/a9gej5/avoiding_high_gc_overhead_with_large_heaps/ecks6s0/ | 1548086566 | 1 | t5_2fwo | r/programming | public | null |
False | kmeisthax | t2_3hx20 | Flashing your Xbox 360 disc drive was also a really good way to get your console and account banned from Xbox Live. | null | 0 | 1544551711 | False | 0 | ebkrnet | t3_a55xbm | null | null | t1_ebk9xnw | /r/programming/comments/a55xbm/how_the_dreamcast_copy_protection_was_defeated/ebkrnet/ | 1547479870 | 5 | t5_2fwo | r/programming | public | null |
False | PersonalPronoun | t2_49gif | Have you read the source lines of the compiler you use and all of your dependencies? | null | 0 | 1545816069 | False | 0 | ecks79p | t3_a9hs3u | null | null | t1_eck22pu | /r/programming/comments/a9hs3u/the_ant_design_christmas_egg_that_went_wrong/ecks79p/ | 1548086573 | 4 | t5_2fwo | r/programming | public | null |
False | k-selectride | t2_415od | Implementation detail seems like a weird way to describe it. If you're running on kubernetes or something like AWS fargate then you have to containerize.
I feel like you're being extremely disingenuous by calling anything not ruby or python 'webscale'. It's an undeniable fact that code written in various languages runs faster or slower on the same hardware under the same workload to accomplish the same task. If you're provisioning cloud VMs then that has a real cost associated, and saving money on your infrastructure bill can be valuable to a company. It's not even a given that a faster language is slower to develop on, which is one of the common arguments. | null | 0 | 1544551724 | False | 0 | ebkrnzt | t3_a57f0y | null | null | t1_ebkqpwf | /r/programming/comments/a57f0y/twenty_years_of_open_source_erlang_a/ebkrnzt/ | 1547479877 | 1 | t5_2fwo | r/programming | public | null |
False | PrimozDelux | t2_lost9eb | no shit dude | null | 0 | 1545816234 | False | 0 | ecksass | t3_a9fg8h | null | null | t1_eck5lew | /r/programming/comments/a9fg8h/spacevim_release_v100/ecksass/ | 1548086616 | 0 | t5_2fwo | r/programming | public | null |
False | pjmlp | t2_755w5 | Brillo was all about being Android with a C++ user space and in the end they rebooted the project as Android Things, sharing the same Java frameworks with its bigger brother. | null | 0 | 1544551935 | False | 0 | ebkry90 | t3_a55qhp | null | null | t1_ebkocbd | /r/programming/comments/a55qhp/the_dart_language_considers_adding_sound/ebkry90/ | 1547480006 | 2 | t5_2fwo | r/programming | public | null |
False | Zuslash | t2_62rd7 | Glad to hear I’m not the only one who laughed at this. Haha | null | 0 | 1545816337 | False | 0 | eckscx2 | t3_a9hs3u | null | null | t1_ecjheua | /r/programming/comments/a9hs3u/the_ant_design_christmas_egg_that_went_wrong/eckscx2/ | 1548086643 | 5 | t5_2fwo | r/programming | public | null |
False | Leleek | t2_6s17u | Security through obscurity does work when actors don't know they are looking for your secured thing. Hiding porn 20 folders deep is an example. People certainly were going to look for the decoder here though. Not that I am advocating for security through obscurity though :P | null | 0 | 1544551943 | False | 0 | ebkryol | t3_a55xbm | null | null | t1_ebkouyi | /r/programming/comments/a55xbm/how_the_dreamcast_copy_protection_was_defeated/ebkryol/ | 1547480011 | 12 | t5_2fwo | r/programming | public | null |
False | oridb | t2_90rkq | Note that the second scenario without pointers is, ideally, the common case; you normally wouldn't want to have pointers all over the place for a number of reasons outside of GC, especially when nearly all of them are null.
From a performance perspective, the cost of pointer chasing and the lack of data locality really hurts you. From a maintainability perspective, removing pointers removes the possibility of aliasing and makes code to understand. So in languages that allow it, it's generally far better to avoid pointers to values where appropriate. | null | 0 | 1545816492 | False | 0 | ecksg5f | t3_a9gej5 | null | null | t1_ecks6s0 | /r/programming/comments/a9gej5/avoiding_high_gc_overhead_with_large_heaps/ecksg5f/ | 1548086682 | 3 | t5_2fwo | r/programming | public | null |
False | pjmlp | t2_755w5 | My experience with Brillo proves that Fuchsia today might look very different tomorrow. | null | 0 | 1544552001 | False | 0 | ebks1dd | t3_a55qhp | null | null | t1_ebknxxe | /r/programming/comments/a55qhp/the_dart_language_considers_adding_sound/ebks1dd/ | 1547480044 | 1 | t5_2fwo | r/programming | public | null |
False | [deleted] | None | [deleted] | null | 0 | 1545816536 | False | 0 | ecksh00 | t3_a9hs3u | null | null | t1_ecjxef2 | /r/programming/comments/a9hs3u/the_ant_design_christmas_egg_that_went_wrong/ecksh00/ | 1548086693 | 1 | t5_2fwo | r/programming | public | null |
False | Phreakhead | t2_6k70r | Isn't Dreamcast's scrambling order *literally* a secret key though? I agree with the parent: Dreamcast's copy protection was not security through obscurity. | null | 0 | 1544552006 | False | 0 | ebks1l6 | t3_a55xbm | null | null | t1_ebkc30e | /r/programming/comments/a55xbm/how_the_dreamcast_copy_protection_was_defeated/ebks1l6/ | 1547480047 | -1 | t5_2fwo | r/programming | public | null |
False | omfgtim_ | t2_f1esg | Not a web developer, but do web developers not pin their dependencies to certain versions for production? This wouldn’t have prevented people new to the library from the ‘Easter egg’ but it’s good practice.
You then could do a small diff code review on each release and decide if you wanted to bump the version. | null | 0 | 1545816629 | False | 0 | ecksiv1 | t3_a9hs3u | null | null | t3_a9hs3u | /r/programming/comments/a9hs3u/the_ant_design_christmas_egg_that_went_wrong/ecksiv1/ | 1548086716 | -2 | t5_2fwo | r/programming | public | null |
False | ArmoredPancake | t2_jc7zp | What problem? They're on OpenJDK now. | null | 0 | 1544552024 | False | 0 | ebks2fy | t3_a55qhp | null | null | t1_ebkj9ks | /r/programming/comments/a55qhp/the_dart_language_considers_adding_sound/ebks2fy/ | 1547480057 | 1 | t5_2fwo | r/programming | public | null |
False | Seriator34 | t2_rip41oy | He is also know for his compositional work and even owns an organ in his home. | null | 0 | 1545816681 | False | 0 | ecksjxs | t3_a7m6jc | null | null | t3_a7m6jc | /r/programming/comments/a7m6jc/a_profile_on_donald_knuth/ecksjxs/ | 1548086729 | 1 | t5_2fwo | r/programming | public | null |
False | retro83 | t2_37b26 | Nice work, that's fast as fook | null | 0 | 1544552094 | False | 0 | ebks5vr | t3_a55xbm | null | null | t1_ebklyho | /r/programming/comments/a55xbm/how_the_dreamcast_copy_protection_was_defeated/ebks5vr/ | 1547480100 | 1 | t5_2fwo | r/programming | public | null |
False | fuckface_academy | t2_81y3c | It does, and as a seasoned developer I think this new crop is disrespectful af.
You should continue to be a jerk about it, and the FNGs will just have to learn about it.
Fucking new guys, Christ almighty. | null | 0 | 1545816836 | False | 0 | ecksn1s | t3_a9hs3u | null | null | t1_ecjyi1v | /r/programming/comments/a9hs3u/the_ant_design_christmas_egg_that_went_wrong/ecksn1s/ | 1548086767 | 1 | t5_2fwo | r/programming | public | null |
False | Katholikos | t2_dqowe | Hmm. I'm not sure I agree that the porn is "secure", it's just hidden. I wouldn't call a house with no locks in the middle of the forest secure - it's just unlikely that anyone will exploit the vulnerabilities!
I agree that it's usually effective for an extremely short period of time, though. | null | 0 | 1544552225 | False | 0 | ebksc86 | t3_a55xbm | null | null | t1_ebkryol | /r/programming/comments/a55xbm/how_the_dreamcast_copy_protection_was_defeated/ebksc86/ | 1547480178 | 8 | t5_2fwo | r/programming | public | null |
False | [deleted] | None | [deleted] | null | 0 | 1545817012 | False | 0 | ecksqc8 | t3_a9hs3u | null | null | t1_eck7896 | /r/programming/comments/a9hs3u/the_ant_design_christmas_egg_that_went_wrong/ecksqc8/ | 1548086808 | 1 | t5_2fwo | r/programming | public | null |
False | ArmoredPancake | t2_jc7zp | AOT has nothing to do with their performance. They get native performance because they essentially drawing their own widgets bypassing any bridges that Xamarin/RN and others have to cope with. | null | 0 | 1544552308 | False | 0 | ebksg5v | t3_a55qhp | null | null | t1_ebk5glt | /r/programming/comments/a55qhp/the_dart_language_considers_adding_sound/ebksg5v/ | 1547480226 | 2 | t5_2fwo | r/programming | public | null |
False | saltybandana | t2_2hallns5 | My point was that the expansion as you showed it could have been done via rust macro's, which is why I originally thought it must have been one. That's all.
I wrote part of a 6502 emulator in Rust to get a feel for it, but that was before the ? syntax was added so I was going off of the example you gave.
> Where ignoring it is a deliberate and more involved thing to do
right, but that's not really better. It's better in that you hope the developer was being deliberate and not just trying to shut the compiler up, but in the grand scheme of things I don't really view it as better. If you're not handling the error case then there's a problem. Maybe you don't care and that's ok.
But maybe you do care and just didn't realize it due to mistaken assumptions, and then your program just crashes and burns.
What I'm saying is, if you're going for stable software you're not going to be using that often. That's really my point, ultimately. Not that it doesn't communicate, it does. Just that in production level software you really shouldn't be using it that often. assumptions that are valid today can be broken tomorrow and the only feedback you'll get will be software that exits.
One thing I will say about rust is that I disagree with a lot of the community about what makes rust great. I realize what I'm about to say is fairly arrogant, but I still believe it nonetheless.
The rust community talks about safety a lot, but unsafe blocks in rust don't really make anything safer. Safe code can break assumptions in unsafe code via state. This means unsafe code that was working yesterday may stop working tomorrow. In theory all unsafe blocks are behind a module with the module API protecting the unsafe blocks, but any good C or C++ developer is going to do the same thing and nothing stops a rust developer from dropping a random unsafe block in the middle of code to get something done. This idea is literally encapsulation (protecting state via an API).
The best that can be said for rust unsafe blocks is that given enough rigor they give you a fighting chance of improving the situation vs C or C++. Which is good, I'm not dismissing it, but I think rust can do better.
The one thing those unsafe blocks do is allow tooling to be able to identify which pieces of state are used in code that's potentially dangerous. Imagine your IDE colored state that's used in unsafe blocks differently so that if you're touching safe code that's affecting state used by unsafe blocks, you're not only aware of it while doing so, the IDE can tell you exactly which unsafe blocks to examine.
Or imagine a git hook that checks and if any code that touches "unsafe state" is being committed it sends notifications and/or requires approval from the senior developers.
I think if you take the compiler requirement for unsafe and add it with the tooling there's a good chance you find yourself with an ecosystem that tends to be safer than languages like C and C++ (tends to, not guaranteed).
but it doesn't really seem like the community cares too much about that, and from my perspective it's not clear that having unsafe blocks naturally results in safer software. In theory, sure, but it's like checked exceptions and unwrap. in practice developers may choose to do the wrong thing for convenience, honest mistakes, or any other reason you can think of. | null | 0 | 1545817211 | False | 0 | ecksu7h | t3_a8rptf | null | null | t1_ecj0jd9 | /r/programming/comments/a8rptf/i_do_not_like_go/ecksu7h/ | 1548086855 | 1 | t5_2fwo | r/programming | public | null |
False | sorlafloat | t2_2q1c255k | When did they start this? How long does it take to design the syntax for multiline string literals anyway?
I can fix it in 5 minutes. Use triple quotes. If the IDE breaks, the IDE vendor will fix it because you said it was now the standard. Done and ship it. | null | 0 | 1544552499 | False | 0 | ebkspdk | t3_a5969k | null | null | t3_a5969k | /r/programming/comments/a5969k/java_12_likely_will_not_have_raw_string_literals/ebkspdk/ | 1547480340 | 59 | t5_2fwo | r/programming | public | null |
False | InaneB0b | t2_23tsdom8 | Oh no! You have triggered the webdevs. | null | 1 | 1545817813 | False | 0 | eckt61q | t3_a9j2qk | null | null | t1_eck3bdi | /r/programming/comments/a9j2qk/all_of_the_garbage_collectors_we_examine_here/eckt61q/ | 1548087031 | -3 | t5_2fwo | r/programming | public | null |
False | bartturner | t2_dyc5p | Depends on what layer. We can see Zircon and flutter pretty well already. Rest it is too early. | null | 0 | 1544552594 | False | 0 | ebksu0q | t3_a55qhp | null | null | t1_ebks1dd | /r/programming/comments/a55qhp/the_dart_language_considers_adding_sound/ebksu0q/ | 1547480426 | 1 | t5_2fwo | r/programming | public | null |
False | exorxor | t2_h57gcb9 | If the operators knew what they would be doing, this problem wouldn't exist.
The alternative explanation is that they don't want to solve this problem.
Please don't ask me the silly question of "How?".
Why? I don't subscribe to the idea that explaining another person how to do their work. It just means that I increase the complexity of their work beyond what they are capable of, which means that the system as a whole becomes less robust.
If it was my job, this would never happen again. If you want to write an interesting article, you should check whether Google also suffers from this weakness. | null | 1 | 1545817820 | False | 0 | eckt67e | t3_a9ezut | null | null | t3_a9ezut | /r/programming/comments/a9ezut/the_internet_of_unprofitable_things/eckt67e/ | 1548087033 | -3 | t5_2fwo | r/programming | public | null |
False | dvdkon | t2_dj4da | As I see it, user-defined queries fall under the "Read" part of CRUD.
What I mostly mean is automatically creating an entry on each change and letting the user/programmer use that data in meaningful ways (maybe letting them see the complete state at some time or just displaying a list of changes), handling relations, auditing etc. And doing all this without hardcoding each specific case like a code monkey (which is IMO the biggest problem with many current CRUD stacks). | null | 0 | 1544552642 | False | 0 | ebkswe9 | t3_a4n8jv | null | null | t1_ebkkmv5 | /r/programming/comments/a4n8jv/why_software_developers_are_paid_5x_more_in_the/ebkswe9/ | 1547480455 | 1 | t5_2fwo | r/programming | public | null |
False | saltybandana | t2_2hallns5 | I don't buy into your categories here. error vs exception. I think this will be my last reply to you because you keep insisting on putting lines between things that ought not have lines between them.
And the following is why
> you cannot fix a drive being full or internet being down or a folder not having the right permissions.
In the real world network connections can go away temporarily for many reasons, a lot of them are legitimate and shouldn't cause your software to fail. For example, network failover. All it takes is retrying a second time, or waiting a second and it's available again.
fragile software is software that fails at the drop of a hat. As opposed to resiliant, where it works in the face of a flaky network connection or in the face of a hardware failure causing a network failover or innumerable other reasons.
Same thing with your other examples. I can absolutely see a desktop app informing the user that a directory is full and prompting to wait until the user clears space or falling back to a different drive, or asking the user for admin privileges due to permissions issues.
This is **WHY** the clear delineation between the two "error types" is a mistake and I don't agree with it. The rigidity in your thinking is exactly the problem.
So with that being said, I'm done with this conversation.
| null | 0 | 1545817988 | False | 0 | eckt9lj | t3_a8rptf | null | null | t1_eciqr95 | /r/programming/comments/a8rptf/i_do_not_like_go/eckt9lj/ | 1548087075 | 1 | t5_2fwo | r/programming | public | null |
False | fabiensanglard | t2_5waty | An external file would mean an additional HTTP request which will delay the layout engine from starting. I wanted to avoid that.
Having the text-transform in the style header is a good idea. I will fix that asap. | null | 0 | 1544552688 | False | 0 | ebksyly | t3_a55xbm | null | null | t1_ebkpup0 | /r/programming/comments/a55xbm/how_the_dreamcast_copy_protection_was_defeated/ebksyly/ | 1547480482 | 11 | t5_2fwo | r/programming | public | null |
False | Kavok | t2_1modr | Can you just fork it temporarily, rename it, and say problem solved? Would give you more time to do a proper replacement. | null | 0 | 1545818022 | False | 0 | eckta9g | t3_a9hs3u | null | null | t1_ecki285 | /r/programming/comments/a9hs3u/the_ant_design_christmas_egg_that_went_wrong/eckta9g/ | 1548087083 | 1 | t5_2fwo | r/programming | public | null |
False | fabiensanglard | t2_5waty | > external stylesheet
Is it really worth it? I would rather make the page a tiny bit bigger and avoid a second HTTP request for first time visitors.
> inline styles
Agreed.
| null | 0 | 1544552782 | False | 0 | ebkt34f | t3_a55xbm | null | null | t1_ebko2ow | /r/programming/comments/a55xbm/how_the_dreamcast_copy_protection_was_defeated/ebkt34f/ | 1547480538 | 15 | t5_2fwo | r/programming | public | null |
False | nonamebcb | t2_o56gu | People see this as a tasteless Easter eggs costing other people their job and all, but to me that's not what this is about.
This code was triggered in production for at least a few companies without anybody seeing it coming. The commit message should've raised suspicion with anyone auditing the code, yet nobody did. This is code from a Chinese company under severe government restrictions that can be made to put anything the government wants in their code. Remember the new Australian law? Do you know if you have any packages with Australian authors in your stack? How are you going to prevent running compromised code if the Australian government compels a developer to push a backdoor so they can get access to some random target website?
Just imagine what would have happened if this was more than a dumb CSS style on Christmas. What if the code injected javascript from somewhere else? What if it stole credit card details or business information?
People need to see the big picture here: the open source development system (especially Node in my opinion) is dangerous in the way that a simple React Web page requires thousands of files from third parties you've never heard of.
Other people in the comments say that it's impossible to audit all code and that they can't explain spending hundreds of hours on it to their boss. That's true: it's financially unreasonable to check all code. But that doesn't solve the problem that's there, that's just shifting the blame for a giant security hole in your development process.
The web developers here might disagree, but in my opinion you take a risk as a developer when you include other people's javascript into your project. This is a mediocre Christmas egg (not even that unfunny in my opinion) that should have never made it to your production environment. If it has, the entire development cycle has failed and could have failed in much more horrific ways.
The same can be said about the Easter eggs mentioned throughout the comment section here. LineageOS showcased to many users that they could, if made to do so by a government official, rootkit your phone. People were outraged and it was a very unprofessional move, but they like to forget that they themselves have hit the install button to download some stranger's hundreds of megabytes of binary code to their device and have it replace their kernel.
Making sure the right code reaches production is your responsibility as a developer and if an Christmas egg has slipped past this is (at least partially) your responsibility. You have decided to run a billion javascript packages and your boss is completely right to be mad at you if this slipped past you. Not because you should've audited every line of code from a massive third party library, but because of the copious amounts of random dependencies in your code from companies and authors you probably shouldn't trust. | null | 0 | 1545818448 | False | 0 | ecktjoh | t3_a9hs3u | null | null | t3_a9hs3u | /r/programming/comments/a9hs3u/the_ant_design_christmas_egg_that_went_wrong/ecktjoh/ | 1548087200 | 21 | t5_2fwo | r/programming | public | null |
False | bartturner | t2_dyc5p | AOT has a ton to do with performance. Not sure your thinking? Performance is NOT only because of the widgets and how architected. A lot has to do with Dart and then also AOT.
Google does a good job explaining when they explained why they are using Dart.
Shared the data point on using JIT versus AOT with Angular. Almost a 2x improvement. | null | 0 | 1544552798 | False | 0 | ebkt3xz | t3_a55qhp | null | null | t1_ebksg5v | /r/programming/comments/a55qhp/the_dart_language_considers_adding_sound/ebkt3xz/ | 1547480548 | 0 | t5_2fwo | r/programming | public | null |
False | lppier | t2_802om | I'm not claiming it to be quantitative analysis, nor am I a quant. I'm just fascinated by how Google Trend correlates to how the markets behave.
Also, I don't think I have too much of an ass to fuck, if by ass you're referring to money. ;) | null | 0 | 1545818470 | False | 0 | ecktk7x | t3_a8ilv4 | null | null | t1_eck9ksw | /r/programming/comments/a8ilv4/trading_the_trade_war_sentimentbased_trading/ecktk7x/ | 1548087206 | 1 | t5_2fwo | r/programming | public | null |
False | fabiensanglard | t2_5waty | Let me know what is inaccurate (with sources to back it up) and I will update the page. | null | 0 | 1544552858 | False | 0 | ebkt6vp | t3_a55xbm | null | null | t1_ebknxk1 | /r/programming/comments/a55xbm/how_the_dreamcast_copy_protection_was_defeated/ebkt6vp/ | 1547480584 | 9 | t5_2fwo | r/programming | public | null |
False | Latexi95 | t2_mzoes | Most GC implementations use allocation pool in background to provide the memory. That is mostly the reason why GCed languages can win some benchmarks. But it definitely doesn't eliminate memory management cost entirely. Problem are the cases when some of the data allocated in the same pool is freed later than the other parts.
Arena allocation is common when developing high-performance application and games with C++. With manual memory management it is easier to do well performing arena allocation because developers have to think about the lifetimes anyway and it is their responsibility that there are no memory leaks. Eg. for the particle engine one clould allocate space for eg. 10k particles and use it like a ringbuffer for allocations because particles have limited life time (really easy if lifetime is constant and order or destruction is same as the creation) so it never fills up (or then there is way too many particles anyway). Almost zero cost allocations and frees and good memory usage partern (especially when used with structure of arrays pattern) | null | 0 | 1545818680 | False | 0 | ecktp7y | t3_a9j2qk | null | null | t1_eckm5hv | /r/programming/comments/a9j2qk/all_of_the_garbage_collectors_we_examine_here/ecktp7y/ | 1548087268 | 2 | t5_2fwo | r/programming | public | null |
False | CaptainStack | t2_5zo5p | A secret tree of HTML elements that pull all the strings and are the ones who are REALLY responsible for how a webpage renders. Ever had a missing element on a page? Alignment issues you can't explain? Weird differences between browsers? That's all the Shadow DOM calling the shots and only letting you *think* you have any control at all. | null | 0 | 1544552869 | False | 0 | ebkt7eo | t3_a581wy | null | null | t3_a581wy | /r/programming/comments/a581wy/what_is_the_shadow_dom/ebkt7eo/ | 1547480591 | 2 | t5_2fwo | r/programming | public | null |
False | geek_on_two_wheels | t2_1jz7pys | Came here to say this. Having an _actual_ responsibility to a friend or colleague can often help motivate a person (e.g. school or work project or a side project that will be used by a friend), but simply talking about your newest side project to people who hold no stake in its development just feeds your reward centre. | null | 0 | 1545818754 | False | 0 | ecktr26 | t3_a9iso8 | null | null | t1_ecjrdzn | /r/programming/comments/a9iso8/5_proven_ways_to_finish_your_side_project/ecktr26/ | 1548087291 | 3 | t5_2fwo | r/programming | public | null |
False | booch | t2_1yprw | I would argue that breaking things up into small, testable pieces is very much doing it right. Nothing about breaking up code into individual, testable functions is an abstraction. | null | 0 | 1544552874 | False | 0 | ebkt7nh | t3_a56m8z | null | null | t1_ebkpz9a | /r/programming/comments/a56m8z/unit_testing_antipatterns_full_list/ebkt7nh/ | 1547480593 | 13 | t5_2fwo | r/programming | public | null |
False | wsdjeg | t2_tmgwq | how about the new tool, language server? lsp? | null | 0 | 1545818928 | False | 0 | ecktuv2 | t3_a9fg8h | null | null | t1_eck7zmr | /r/programming/comments/a9fg8h/spacevim_release_v100/ecktuv2/ | 1548087338 | 1 | t5_2fwo | r/programming | public | null |
False | WhereAreWeNowAnon | t2_rxns10g | [Does it give you gas?](https://ericfilipkowski.files.wordpress.com/2014/03/kyleschwartztransparent.png) | null | 0 | 1544552900 | False | 0 | ebkt8zk | t3_a55xbm | null | null | t1_ebkm5oc | /r/programming/comments/a55xbm/how_the_dreamcast_copy_protection_was_defeated/ebkt8zk/ | 1547480611 | -2 | t5_2fwo | r/programming | public | null |
False | wsdjeg | t2_tmgwq | I think you can just load lang#c layer and lsp layer, it will use cpp language server. so code completion, lint, and doc should works well. | null | 0 | 1545819044 | False | 0 | ecktxc1 | t3_a9fg8h | null | null | t1_ecjtlug | /r/programming/comments/a9fg8h/spacevim_release_v100/ecktxc1/ | 1548087369 | 0 | t5_2fwo | r/programming | public | null |
False | ArmoredPancake | t2_jc7zp | Okay, poor choice of words. Still, Dart is far, far from most performant language, AOT or not. | null | 0 | 1544552912 | False | 0 | ebkt9lj | t3_a55qhp | null | null | t1_ebkt3xz | /r/programming/comments/a55qhp/the_dart_language_considers_adding_sound/ebkt9lj/ | 1547480618 | 5 | t5_2fwo | r/programming | public | null |
False | wsdjeg | t2_tmgwq | how about using lsp with vim? as I know vscode also use it when develop with c++. | null | 0 | 1545819106 | False | 0 | ecktylv | t3_a9fg8h | null | null | t1_ecjvaom | /r/programming/comments/a9fg8h/spacevim_release_v100/ecktylv/ | 1548087384 | 1 | t5_2fwo | r/programming | public | null |
False | idobai | t2_fu8kq | Are you kidding with me? Those tools are available for pretty much every language except the ones without a community or a strong supporter(like a company).
Creating a formatter is almost nothing, especially if your language is C-like or indent-based because you can just copy someone else's formatter.
Linters are not really needed and advanced compilers usually emit styling warnings and can suggest refactorings.
Every JVM and .net language gets debugging and profiling tools for free. The rest usually integrates with gdb and valgrind. To have debuggers, the compiler just need to generate debug symbols. I have never seen a language without at least one debugger. Profiling tools are tricky, unless you have a managed language.
> Go does well on this aspect.
The go devs made those tools, the language has nothing to do with the tooling. | null | 0 | 1544553072 | 1544553267 | 0 | ebkthh7 | t3_a541an | null | null | t1_ebkju72 | /r/programming/comments/a541an/just_tell_me_how_to_use_go_modules/ebkthh7/ | 1547480715 | 0 | t5_2fwo | r/programming | public | null |
False | ijustwantanfingname | t2_63w28 | I think that's hillarious. Which is why I'm not in charge of shit. | null | 0 | 1545819167 | False | 0 | ecktzuv | t3_a9hs3u | null | null | t1_ecjsjrv | /r/programming/comments/a9hs3u/the_ant_design_christmas_egg_that_went_wrong/ecktzuv/ | 1548087399 | 3 | t5_2fwo | r/programming | public | null |
False | wredue | t2_1rbubxg4 | Sony has a pretty long history of poor security. Not sure that this wasn’t just pure incompetence. | null | 0 | 1544553091 | False | 0 | ebktif1 | t3_a585nb | null | null | t1_ebkj0ak | /r/programming/comments/a585nb/cryptography_failure_leads_to_easy_hacking_for/ebktif1/ | 1547480727 | 26 | t5_2fwo | r/programming | public | null |
False | wsdjeg | t2_tmgwq | I know, but lisp is too hard to learn. and Vim script is simply. and just like normal programming language. Python lua ruby etc. | null | 0 | 1545819197 | False | 0 | ecku0hx | t3_a9fg8h | null | null | t1_ecjx8j1 | /r/programming/comments/a9fg8h/spacevim_release_v100/ecku0hx/ | 1548087408 | -2 | t5_2fwo | r/programming | public | null |
False | alphaglosined | t2_f0fiz | You are indeed correct. You probably don't want to be consulting with legal services for such "national security" related requests when they are made.
That is why you make plans to mitigate the risk to the company and the employees ahead of time. Create plans with the help of legal counsel which make it very clear on what they should do and under which circumstances. | null | 0 | 1544553107 | False | 0 | ebktj57 | t3_a57th7 | null | null | t1_ebkqql0 | /r/programming/comments/a57th7/australias_new_encryption_laws_ensure_companies/ebktj57/ | 1547480735 | 9 | t5_2fwo | r/programming | public | null |
False | endeavourl | t2_8uqk4 | > However, smart pointers do not appear to be in widespread use
This is outdated as well, i think. | null | 0 | 1545819384 | False | 0 | ecku4wa | t3_a9j2qk | null | null | t1_eckfaci | /r/programming/comments/a9j2qk/all_of_the_garbage_collectors_we_examine_here/ecku4wa/ | 1548087462 | 14 | t5_2fwo | r/programming | public | null |
False | fuckin_ziggurats | t2_cmam5 | I wouldn't call Open-Closed Principle incoherent. It's a general principle. And what you're describing the rest of them to be is wild. Dependency Inversion is the most popular programming mechanism in modern software design. The rest of them all make perfectly good guidelines, they're not supposed to be silver bullets. | null | 0 | 1544553107 | False | 0 | ebktj5y | t3_a56am1 | null | null | t1_ebkrgyv | /r/programming/comments/a56am1/whats_the_deal_with_the_solid_principles_part_2/ebktj5y/ | 1547480737 | 2 | t5_2fwo | r/programming | public | null |
False | WitchHunterNL | t2_4zpr8 | What makes you think they didn't pin dependencies? The code was already in stable since November | null | 0 | 1545819439 | False | 0 | ecku69i | t3_a9hs3u | null | null | t1_ecjvx04 | /r/programming/comments/a9hs3u/the_ant_design_christmas_egg_that_went_wrong/ecku69i/ | 1548087478 | 13 | t5_2fwo | r/programming | public | null |
False | bartturner | t2_dyc5p | Dart is far more performant than JS for Flutter. Do you have data on Dart compared to other languages?
Dart is obviously more performant than Python. Suspect more than Java. C, C++, Rust, and Go maybe not. Would guess more performant than Kotlin.
But it is a silly discussion. They need Dart for what they are doing.
Btw, do you have to compare AOT Dart.
What I have seen is Dart JIT. | null | 0 | 1544553110 | 1544553385 | 0 | ebktjb3 | t3_a55qhp | null | null | t1_ebkt9lj | /r/programming/comments/a55qhp/the_dart_language_considers_adding_sound/ebktjb3/ | 1547480738 | 1 | t5_2fwo | r/programming | public | null |
False | briancodes | t2_v51dipk | Everyone’s decisions are guided by their experience and information at hand. You made an appeal to authority. | null | 0 | 1545819453 | False | 0 | ecku6ln | t3_a8rptf | null | null | t1_ecgd40x | /r/programming/comments/a8rptf/i_do_not_like_go/ecku6ln/ | 1548087483 | 2 | t5_2fwo | r/programming | public | null |
False | [deleted] | None | [deleted] | null | 0 | 1544553117 | False | 0 | ebktjmc | t3_a57th7 | null | null | t1_ebkogrj | /r/programming/comments/a57th7/australias_new_encryption_laws_ensure_companies/ebktjmc/ | 1547480742 | -2 | t5_2fwo | r/programming | public | null |
False | couscous_ | t2_2orqfro0 | Value types in general should improver performance as you mention, either due to cache locality, as well as reducing the load on the GC. Java should be getting value types in an upcoming release to address this issue. | null | 0 | 1545819606 | False | 0 | eckuabk | t3_a9gej5 | null | null | t1_ecksg5f | /r/programming/comments/a9gej5/avoiding_high_gc_overhead_with_large_heaps/eckuabk/ | 1548087529 | 3 | t5_2fwo | r/programming | public | null |
False | valar_k | t2_179kap | Hell yes. Though frankly these days my bar is so low that I'm happy if I get nice writeups like this vs 30 minute long Youtube rambling video essays. | null | 0 | 1544553122 | False | 0 | ebktjua | t3_a55xbm | null | null | t1_ebk5rtt | /r/programming/comments/a55xbm/how_the_dreamcast_copy_protection_was_defeated/ebktjua/ | 1547480745 | 5 | t5_2fwo | r/programming | public | null |
False | GYN-k4H-Q3z-75B | t2_lbonz | Don't tell The Party. | null | 1 | 1545819849 | False | 0 | eckug94 | t3_a9hs3u | null | null | t1_eck7x8u | /r/programming/comments/a9hs3u/the_ant_design_christmas_egg_that_went_wrong/eckug94/ | 1548087631 | 2 | t5_2fwo | r/programming | public | null |
False | welkam | t2_o4k0x | My values are based on my reasoning not what Rust is doing. Things that are reasonable additions today to std might turn out to be mistakes tomorrow. In D\`s std there are curl bindings, but its old because newer version of curl changed API and thats a breaking change. Also things improve slowly in std. Both xml and json parsers have better counterparts in dub.
I am not against of a implementation of hashmap in std but in my opinion it should stop there. There is implementation in D that uses GC and if that doesnt suit you then look at dub not std. But no one cares about my opinion and there are plans of implementing std.allocator based collections in D\`s std. From what I can tell Andrei Alexandrescu tried to implement them but came to roadblocks like how to make immutable reference counted collection/container? Immutable that mutates ref counter makes no sense.
> D's ranges only specify that they are strictly from A to B
That incorrect. Thats how slices work. If a range doesn't implement length attribute you cant know its size unless you iterate trough it. There are more than one range type and you should really study [std.range.primitives](https://dlang.org/phobos/std_range_primitives.html) if you want to use ranges to their full potential.
Range api doesn't prevent you from checking A.next the container implementation does. In D\`s std both pointers are private. | null | 0 | 1544553159 | False | 0 | ebktlk9 | t3_a47s2x | null | null | t1_ebgsstn | /r/programming/comments/a47s2x/happy_17th_birthday_d/ebktlk9/ | 1547480767 | 1 | t5_2fwo | r/programming | public | null |
False | henryheikkinen | t2_6xxyz | Also _perse_ without the space is a Finnish word for _ass_. | null | 0 | 1545819955 | False | 0 | eckuir5 | t3_a9fg8h | null | null | t1_ecjtba8 | /r/programming/comments/a9fg8h/spacevim_release_v100/eckuir5/ | 1548087662 | 10 | t5_2fwo | r/programming | public | null |
False | combinatorylogic | t2_iab4d | > I would argue that breaking things up into small, testable pieces is very much doing it right.
This is a religious belief that is not backed by any evidence.
Your belief leads to breaking into *too small* things, which harms architecture in awful ways.
But, I'd expect you to also believe in all the other dumb crap, such as OOP, these things often go together. | null | 0 | 1544553170 | False | 0 | ebktm3t | t3_a56m8z | null | null | t1_ebkt7nh | /r/programming/comments/a56m8z/unit_testing_antipatterns_full_list/ebktm3t/ | 1547480773 | -5 | t5_2fwo | r/programming | public | null |
False | tdammers | t2_6v532 | I don't think the team that built this santa thing was the same people who proposed the feature originally. | null | 0 | 1545820148 | False | 0 | eckun9r | t3_a9elh1 | null | null | t1_ecjqyvf | /r/programming/comments/a9elh1/the_gift_of_giving_up/eckun9r/ | 1548087718 | 1 | t5_2fwo | r/programming | public | null |
False | idobai | t2_fu8kq | But you don't need/do `get_min_int_in_slice` if you have access to generics or if the typesystem is dynamically typed. | null | 0 | 1544553185 | False | 0 | ebktmt5 | t3_a541an | null | null | t1_ebkhwgf | /r/programming/comments/a541an/just_tell_me_how_to_use_go_modules/ebktmt5/ | 1547480782 | 2 | t5_2fwo | r/programming | public | null |
False | tdammers | t2_6v532 | Yes, that is what I am saying. There is a new experimental feature, people depend on it, the gamble fails, and they consider it normal and inevitable, when the reality is that they made a shitty decision. | null | 0 | 1545820212 | False | 0 | eckuory | t3_a9elh1 | null | null | t1_eckdmad | /r/programming/comments/a9elh1/the_gift_of_giving_up/eckuory/ | 1548087738 | 4 | t5_2fwo | r/programming | public | null |
False | ricodued | t2_4a37r | >TMux hosting vim, bash, Midnight Commander, and htop
Damn that's cool. | null | 0 | 1544553236 | False | 0 | ebktpc0 | t3_a57gmy | null | null | t3_a57gmy | /r/programming/comments/a57gmy/new_experimental_windows_console_features/ebktpc0/ | 1547480813 | 44 | t5_2fwo | r/programming | public | null |
False | GYN-k4H-Q3z-75B | t2_lbonz | Interesting concept for comparisons, I like it. As for the samples, I just skimmed through and there are some interesting results. I would take this to *challenge my intuition* but not to rewrite everyday code. For one, this is micro territory, but it is also about losing out on code clarity. There are many examples where you can achieve the same or sufficiently similar results using different operators and I have been guilty of trickery like that. But when you come back to the code after a few months, you'll no longer find it too brilliant because it doesn't immediately convey its intention. | null | 0 | 1545820613 | False | 0 | eckuygz | t3_a9ncw1 | null | null | t3_a9ncw1 | /r/programming/comments/a9ncw1/challenge_your_performance_intuition_with_c/eckuygz/ | 1548087857 | 4 | t5_2fwo | r/programming | public | null |
False | lorean_victor | t2_1q33y1ua | you still can do it actually in a lot of languages (Javascript being the one analyzed for the article) in textual code. you basically can represent any data structure using a stream containing merely two symbols. the issue here is optimality of that representation not its feasibility, and for most non-chain graphs (read: async flows) representations in form of a sequence (read: text based code) will inevitably be suboptimal, though definitely you can always optimize them further with extra sugar. | null | 0 | 1544553255 | False | 0 | ebktq5y | t3_a4zvup | null | null | t1_ebkj9gn | /r/programming/comments/a4zvup/the_problem_of_async_programming_and_a_crazy_idea/ebktq5y/ | 1547480823 | 1 | t5_2fwo | r/programming | public | null |
False | l1feh4ck | t2_sip1k | Very nice list. | null | 1 | 1545820646 | False | 0 | eckuz92 | t3_a9nki8 | null | null | t3_a9nki8 | /r/programming/comments/a9nki8/23_awesome_programming_blogs_to_follow_in_2019/eckuz92/ | 1548087867 | 2 | t5_2fwo | r/programming | public | null |
False | cowardlydragon | t2_d0po | This is legitimately fantastic, and what the internet was in its glory days before blogspam, facebook, and other crap destroyed it. | null | 0 | 1544553294 | False | 0 | ebkts4i | t3_a4vzev | null | null | t1_ebi9l30 | /r/programming/comments/a4vzev/how_i_created_a_bot_that_plays_castlevania_nes/ebkts4i/ | 1547480848 | 1 | t5_2fwo | r/programming | public | null |
False | blogrags | t2_rxrzmxd | Thanks | null | 0 | 1545820672 | False | 0 | eckuzys | t3_a9nki8 | null | null | t1_eckuz92 | /r/programming/comments/a9nki8/23_awesome_programming_blogs_to_follow_in_2019/eckuzys/ | 1548087876 | 1 | t5_2fwo | r/programming | public | null |
False | [deleted] | None | [deleted] | null | 0 | 1544553328 | False | 0 | ebkttrh | t3_a55xbm | null | null | t1_ebkky79 | /r/programming/comments/a55xbm/how_the_dreamcast_copy_protection_was_defeated/ebkttrh/ | 1547480868 | 1 | t5_2fwo | r/programming | public | null |
False | lkraider | t2_8nhlt | "Construction company enters new proprietors homes during April 1st to remind everyone how easy it is to be burglared" | null | 0 | 1545820887 | False | 0 | eckv5ca | t3_a9hs3u | null | null | t1_eckfgnw | /r/programming/comments/a9hs3u/the_ant_design_christmas_egg_that_went_wrong/eckv5ca/ | 1548087942 | 9 | t5_2fwo | r/programming | public | null |
False | cowardlydragon | t2_d0po | THere is a youtube of someone single-lifing hard mode (didn't actually get hit until the bat level of the final castle) out there you could mirror. | null | 0 | 1544553358 | False | 0 | ebktv9c | t3_a4vzev | null | null | t1_ebi73nq | /r/programming/comments/a4vzev/how_i_created_a_bot_that_plays_castlevania_nes/ebktv9c/ | 1547480886 | 2 | t5_2fwo | r/programming | public | null |
False | SocialAnxietyFighter | t2_uwnee | Consider typescript | null | 0 | 1545821369 | False | 0 | eckvh7s | t3_a9hs3u | null | null | t1_eckik5q | /r/programming/comments/a9hs3u/the_ant_design_christmas_egg_that_went_wrong/eckvh7s/ | 1548088088 | 2 | t5_2fwo | r/programming | public | null |
False | gredr | t2_qb5vu | If the JIT compiler was the same compiler as the AOT compiler, then wouldn't the result be the same size, same execution time, and same electricity consumed? | null | 0 | 1544553371 | False | 0 | ebktvtr | t3_a55qhp | null | null | t1_ebkrg4v | /r/programming/comments/a55qhp/the_dart_language_considers_adding_sound/ebktvtr/ | 1547480893 | 1 | t5_2fwo | r/programming | public | null |
False | Oooch | t2_7xjk1 | I definitely remember the story he's talking about, it's more common than you'd think | null | 0 | 1545821431 | False | 0 | eckvit6 | t3_a9hs3u | null | null | t1_ecko0ib | /r/programming/comments/a9hs3u/the_ant_design_christmas_egg_that_went_wrong/eckvit6/ | 1548088108 | 5 | t5_2fwo | r/programming | public | null |
False | the-kontra | t2_e6usj | I'd say that 80% of jobs I'm being told about by recruiters can be described as: "we have a platform built with PHP and we're migrating everything to Go".
I personally switched from PHP to Go as my primary language and I'm never coming back. | null | 0 | 1544553372 | False | 0 | ebktvwo | t3_a541an | null | null | t1_ebk2wrw | /r/programming/comments/a541an/just_tell_me_how_to_use_go_modules/ebktvwo/ | 1547480895 | 5 | t5_2fwo | r/programming | public | null |
False | 13steinj | t2_i487l | > like replacing stack return addresses to arbitrarily jump around
That's different than "executing bytes on the stack".
Executing bytes on the stack, would be to, for example, assemble a simple function, then put the raw machine code of that on the stack somehow, and tell the program to jump to it.
What you're referring to is [ROP](https://en.m.wikipedia.org/wiki/Return-oriented_programming), the idea behind it is that just about any possible bit of code you could want to execute is located in libc, which has to be loaded for every program. So if you can find some code in libc followed by a `ret` instruction, you have a "gadget" that does a particular action located at that address within libc.
If you can somehow smash the stack and replace the return address with the address of the gadget, and then continue to manipulate the stack such that a number of gadgets are executed in a sequence, you can in theory execute quite literally any code you wish.
But the stack itself, is not executed.
I mean, I'm sure one could craft gadgets to the point where it just now accepts and runs any user input machine code so you no longer have to look for gadgets, and run that on some properly permissioned heap memory, in order to change the permissions of the stack itself and then execute from that. But that's silly. Once you can execute user defined machine code on the heap you win the game. No longer necessary to specifically do it on the stack.
As a side note, in my experience colleges tend to make it easier than it is in real world. I remember at least for one of my classes to make things easier we were to disable stack randomization and the location of the on-stack buffer to be overflowed was leaked for us explicitly by the executable. Oh and it's easier in 32 bit mode than 64 bit because in 64 bit to call functions with arguments you need to set up more gadgets in order to put your arbitrarily made arguments into registers. | null | 0 | 1545821431 | False | 0 | eckvitw | t3_a9eefg | null | null | t1_ecjpxft | /r/programming/comments/a9eefg/the_linux_way_of_wishing_christmas/eckvitw/ | 1548088108 | 1 | t5_2fwo | r/programming | public | null |
False | thfuran | t2_3f4o4 | You think you can change the grammar of java in 5 minutes and have it work out? | null | 0 | 1544553393 | False | 0 | ebktwwc | t3_a5969k | null | null | t1_ebkspdk | /r/programming/comments/a5969k/java_12_likely_will_not_have_raw_string_literals/ebktwwc/ | 1547480907 | 23 | t5_2fwo | r/programming | public | null |
False | HelperBot_ | t2_owot1 | Non-Mobile link: https://en.wikipedia.org/wiki/Return-oriented_programming
***
^HelperBot ^v1.1 ^/r/HelperBot_ ^I ^am ^a ^bot. ^Please ^message ^/u/swim1929 ^with ^any ^feedback ^and/or ^hate. ^Counter: ^227301 | null | 0 | 1545821439 | False | 0 | eckvj12 | t3_a9eefg | null | null | t1_eckvitw | /r/programming/comments/a9eefg/the_linux_way_of_wishing_christmas/eckvj12/ | 1548088111 | 1 | t5_2fwo | r/programming | public | null |
False | grauenwolf | t2_570j | I like c#s, @" and $" better than """. I'm sure that there are enough java devs who likewise like it, meaning that they'll be arguing about syntax for the next 20 years. | null | 0 | 1544553401 | False | 0 | ebktxah | t3_a5969k | null | null | t1_ebkspdk | /r/programming/comments/a5969k/java_12_likely_will_not_have_raw_string_literals/ebktxah/ | 1547480912 | 56 | t5_2fwo | r/programming | public | null |
False | oldprogrammer | t2_3llhr | [Obligatory XKCD](https://xkcd.com/378/) is there anything Emacs can't do? | null | 0 | 1545821680 | False | 0 | eckvp6t | t3_a9mdxs | null | null | t3_a9mdxs | /r/programming/comments/a9mdxs/a_cozy_fireplace_for_emacs/eckvp6t/ | 1548088216 | 11 | t5_2fwo | r/programming | public | null |
False | claytonkb | t2_61b8b | Quibble: it is linear in n, not prime(n) and since pi(n) ~ n/ln n, the primes grow exponentially sparse with n. [PRIMES is in P](http://annals.math.princeton.edu/2004/160-2/p12) but I am not aware of a linear-time algorithm (linear in prime(n)) for it. | null | 0 | 1544553426 | False | 0 | ebktyh0 | t3_a58gd2 | null | null | t3_a58gd2 | /r/programming/comments/a58gd2/finding_prime_numbers_using_sieve_of_eratosthenes/ebktyh0/ | 1547480926 | 11 | t5_2fwo | r/programming | public | null |
False | lkraider | t2_8nhlt | Also, getDate returns just the day ? | null | 0 | 1545822202 | False | 0 | eckw1gg | t3_a9hs3u | null | null | t1_eckhf0h | /r/programming/comments/a9hs3u/the_ant_design_christmas_egg_that_went_wrong/eckw1gg/ | 1548088367 | 19 | t5_2fwo | r/programming | public | null |
False | idobai | t2_fu8kq | > dynamic (AKA singly-typed) language.
It's called a dynamically typed language - and those kind of languages have types, they just "check" them at runtime. | null | 0 | 1544553498 | False | 0 | ebku1xs | t3_a541an | null | null | t1_ebkjoxi | /r/programming/comments/a541an/just_tell_me_how_to_use_go_modules/ebku1xs/ | 1547480968 | 2 | t5_2fwo | r/programming | public | null |
False | idobai | t2_fu8kq | > Thanks to the way that statistics work, if your webpage is calling out to 5 services, each of which calls out to another 5 services, your maximum latency is going to hover around the 98th percentile of GC latency.
What are you even trying to say?
> Minimizing jitter and tail latency is important.
Minimizing pause times != minimizing latency. There are far better ways to improve the responsiveness of websites.
> It's important enough that in high performance computing, there's a huge amount of work put into removing the OS scheduler's jitter from the equation.
High-performance computing doesn't really care about latency. You're probably thinking about real-time computing. | null | 0 | 1545822254 | False | 0 | eckw2gc | t3_a9gej5 | null | null | t1_eck8giq | /r/programming/comments/a9gej5/avoiding_high_gc_overhead_with_large_heaps/eckw2gc/ | 1548088380 | 1 | t5_2fwo | r/programming | public | null |
False | lawandordercandidate | t2_14okl0 | > ng to take something that someone else paid for.
i concur. | null | 0 | 1544553502 | False | 0 | ebku258 | t3_a477c9 | null | null | t1_ebjx2av | /r/programming/comments/a477c9/how_linode_screwed_me/ebku258/ | 1547480971 | 1 | t5_2fwo | r/programming | public | null |
False | lkraider | t2_8nhlt | I agree with you. People want to defend their behavior of pulling any dependencies in their current work projects. They don't want to feel bad about doing that, and downvote on the emotional response of realizing having a reckless behavior. | null | 0 | 1545822692 | False | 0 | eckwc1g | t3_a9hs3u | null | null | t1_ecjzmeg | /r/programming/comments/a9hs3u/the_ant_design_christmas_egg_that_went_wrong/eckwc1g/ | 1548088498 | 0 | t5_2fwo | r/programming | public | null |
False | Kenshin220 | t2_5lxrf | I only knew a handful of people with modded ps2s that's extra work the Dreamcast you could just get the games at a flea market | null | 0 | 1544553550 | False | 0 | ebku4h3 | t3_a55xbm | null | null | t1_ebkrjih | /r/programming/comments/a55xbm/how_the_dreamcast_copy_protection_was_defeated/ebku4h3/ | 1547481028 | 3 | t5_2fwo | r/programming | public | null |
False | UnacceptableUse | t2_6fbmb | I think most users with common sense would assume that the icon has changed because it is Christmas | null | 0 | 1545822799 | False | 0 | eckwene | t3_a9hs3u | null | null | t1_ecki1n2 | /r/programming/comments/a9hs3u/the_ant_design_christmas_egg_that_went_wrong/eckwene/ | 1548088531 | 3 | t5_2fwo | r/programming | public | null |
False | EWJacobs | t2_bash7 | It's the place HTML elements get banished for causing unnecessary re-renders, tbh. | null | 0 | 1544553558 | False | 0 | ebku4tq | t3_a581wy | null | null | t1_ebknzkb | /r/programming/comments/a581wy/what_is_the_shadow_dom/ebku4tq/ | 1547481032 | 2 | t5_2fwo | r/programming | public | null |
False | devlambda | t2_16hiwp | A couple of things to keep in mind here:
1. This is the overhead for allocation work alone. Unless your program's work consists exclusively of allocations, this does not reflect actual performance overhead. In a well-designed imperative program in a language that supports value types, allocation work should generally not exceed 10%-20% of total runtime with a GC, even a basic stop-the-world GC.
2. The baseline for the benchmark is a hypothetical omniscient allocator that magically knows when memory needs to be freed and does not ever need to do any work at runtime to figure that out. If you use reference counting extensively, for example, performance would also be impacted (possibly more, as basic reference counting generally has a higher amortized cost than a tracing collector). | null | 0 | 1545822972 | False | 0 | eckwivb | t3_a9j2qk | null | null | t3_a9j2qk | /r/programming/comments/a9j2qk/all_of_the_garbage_collectors_we_examine_here/eckwivb/ | 1548088584 | 15 | t5_2fwo | r/programming | public | null |
False | bartturner | t2_dyc5p | Dart AOT uses a runtime for GC versus Dart JIT uses a VM. Well more of a traditional VM. Part of the reason almost two times slower.
Did you look at what I linked?
Dart AOT is more like Go. Dart JIT is more like JS. Why Dart AOT is so fast. | null | 0 | 1544553565 | 1544553852 | 0 | ebku57w | t3_a55qhp | null | null | t1_ebktvtr | /r/programming/comments/a55qhp/the_dart_language_considers_adding_sound/ebku57w/ | 1547481037 | 1 | t5_2fwo | r/programming | public | null |
False | jmercouris | t2_9b1sjpd | Very impressive quality! Any more technical specs/documents available? | null | 0 | 1545823363 | False | 0 | eckwrvl | t3_a9npfu | null | null | t3_a9npfu | /r/programming/comments/a9npfu/offline_voice_ai_within_512_kb_of_ram_youtube/eckwrvl/ | 1548088695 | 214 | 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.