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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
null | uzarnom | null | Same, but this is good too | null | 0 | 1491112787 | False | 0 | dfpxnc6 | t3_62vxqx | null | null | t1_dfpmhrj | null | 1493722744 | 2 | t5_2fwo | null | null | null |
null | DubiousEthicality | null | I feel your pain, GARNiDELiA is only available on iTunes and YouTube in the US. | null | 0 | 1491112938 | False | 0 | dfpxpl3 | t3_62vx64 | null | null | t1_dfpt5ic | null | 1493722774 | 2 | t5_2fwo | null | null | null |
null | skippingstone | null | Definitely none of the linked list ones. Performance is horrible with linked lists. | null | 1 | 1491112960 | False | 0 | dfpxpyx | t3_62xwba | null | null | t1_dfpwveu | null | 1493722779 | -3 | t5_2fwo | null | null | null |
null | geeeoooort | null | It does it | null | 0 | 1491113064 | False | 0 | dfpxrgv | t3_62vx64 | null | null | t1_dfpwax3 | null | 1493722799 | 1 | t5_2fwo | null | null | null |
null | maxxi123 | null | it does and I wouldnt exactly call Rust's lifetime system "automatic". More like, a shitload of work | null | 1 | 1491113402 | False | 0 | dfpxwfu | t3_62wye0 | null | null | t1_dfpx12c | null | 1493722866 | 3 | t5_2fwo | null | null | null |
null | MengerianMango | null | Read about symbolic computation. Would be cool to write this such that it takes an arbitrary equation and a variable to solve for as input. That's going to be way harder though (and not always possible).
E.g. I input (xy)^2 = sin(z) and ask it to solve for x. The output should be x=sqrt(sin(z)/y^2 )
https://en.m.wikipedia.org/wiki/Symbolic_computation | null | 0 | 1491113590 | False | 0 | dfpxz9s | t3_62x23z | null | null | t3_62x23z | null | 1493722905 | 2 | t5_2fwo | null | null | null |
null | TheThiefMaster | null | Last I heard OpenWatcom's C++ support was pretty outdated too. | null | 0 | 1491113592 | False | 0 | dfpxzak | t3_62sqe6 | null | null | t1_dfpdbjr | null | 1493722905 | 2 | t5_2fwo | null | null | null |
null | [deleted] | null | [deleted] | null | 0 | 1491113593 | 1493147259 | 0 | dfpxzb6 | t3_62ul90 | null | null | t1_dfpsww9 | null | 1493722905 | 13 | t5_2fwo | null | null | null |
null | auxiliary-character | null | >The linear search for the insertion point always completely dominates the insertion
That is, of course, unless you already have the insertion point. If you have to do enough insertions at the same insertion point, this becomes irrelevant.
>the random access maximizes your cache misses
This is assuming you need to do searching in performance sensitive routines. If your use case looks more like a stack (push/pop) at intermediate points, then this becomes largely irrelevant.
In addition, with a custom allocator, the list could be initialized in contiguous memory (like a vector of links), only needing to go outside the initial contiguous block for new insertions. While it certainly would be more cache intensive than a vector/array, due to the overhead of the pointers and the insertion cases, it would be less cache intensive than the random allocation case. At the same time, this would also preserve the O(1) insertion. | null | 0 | 1491113807 | False | 0 | dfpy2cg | t3_62wye0 | null | null | t1_dfpx44f | null | 1493722945 | 5 | t5_2fwo | null | null | null |
null | yawkat | null | What's the difference between tokens and sessions beyond the fact that the latter are usually stored in cookies? Is it how you use them (i.e. auth tokens only being used for auth)? Also, basic auth is annoying to use when you have strong password hashing, so it's not always an option. You also need to keep the password on the client which is a security risk. | null | 0 | 1491113927 | False | 0 | dfpy426 | t3_62ul90 | null | null | t1_dfps8st | null | 1493722969 | 5 | t5_2fwo | null | null | null |
null | skulgnome | null | It looks like a lot of work compared to manual memory management, for sure. How hard would it have been to have a separate GC heap? | null | 1 | 1491114005 | False | 0 | dfpy54r | t3_62wye0 | null | null | t1_dfpxwfu | null | 1493722982 | 0 | t5_2fwo | null | null | null |
null | ckreon | null | What is it for? | null | 0 | 1491114250 | False | 0 | dfpy8nj | t3_62vx64 | null | null | t1_dfpwe4z | null | 1493723029 | 2 | t5_2fwo | null | null | null |
null | yawkat | null | Solutions like jwt add complexity that can be exploited, for example by choosing inferior or no encryption which allows you to send bogus session data, or by losing keys as described in the OP.
It's not like token solutions are that difficult to scale either, the data needs hardly any relational consistency or even solid write guarantees, which makes it super easy to scale. And if you're worried about the extra database you're probably not at a scale where it matters yet anyway and your favorite rdbms you've already set up will work fine. | null | 0 | 1491114306 | False | 0 | dfpy9g2 | t3_62ul90 | null | null | t1_dfpmhkt | null | 1493723039 | 2 | t5_2fwo | null | null | null |
null | Ranakor | null | DoS is not always traffic related, saturating traffic is one way, saturating the CPU is another and likely what the previous poster was refering to. However i can hardly see it happening on any decent platform either, it's not like the cpu time spent on auth checks is that big. | null | 0 | 1491114356 | False | 0 | dfpya62 | t3_62ul90 | null | null | t1_dfpvnaq | null | 1493723050 | 13 | t5_2fwo | null | null | null |
null | rohbotics | null | Customers of Level 3 Communications
| null | 0 | 1491114375 | False | 0 | dfpyafe | t3_62vx64 | null | null | t1_dfpy8nj | null | 1493723053 | 10 | t5_2fwo | null | null | null |
null | Ranakor | null | One easy way you can is replace "change me" with change me (not a string) in the version you ship, won't compile till they well, change it | null | 0 | 1491114457 | False | 0 | dfpybj9 | t3_62ul90 | null | null | t1_dfptomq | null | 1493723068 | 5 | t5_2fwo | null | null | null |
null | erikd | null | Ocaml and Haskell are both fine languages for compilers.
| null | 0 | 1491114496 | False | 0 | dfpyc26 | t3_62wye0 | null | null | t1_dfprbsb | null | 1493723075 | 4 | t5_2fwo | null | null | null |
null | karma_vacuum123 | null | Linux needs competition...
but the Fuchsia repos look a little...sparse. if this is really their current status, this thing has years to go
others have suggested that development inside Google is likely much further ahead and the released source is only updated periodically
in any case, I'm not expecting to be using this any time soon | null | 0 | 1491114510 | False | 0 | dfpyc8n | t3_62tki4 | null | null | t3_62tki4 | null | 1493723078 | 2 | t5_2fwo | null | null | null |
null | rydan | null | Well you could have a ton of servers and a ton of traffic with no quick way to coordinate sessions. I'm talking top 25 Alexa sites. Works fine on sites like mine that have 1000 visits per day but if it were millions I'd probably put data in the cookies too. | null | 0 | 1491114574 | False | 0 | dfpyd5d | t3_62ul90 | null | null | t1_dfpftjt | null | 1493723089 | 11 | t5_2fwo | null | null | null |
null | reini_urban | null | > We've learned a lot in the last 4 decades. And the Rust ownership model is logically flawless, at the expense of being conservative and making certain behaviors difficult to express
Oh my. Of all languages with proper ownership model, Rust is by far the most flawed, and also the slowest.
e.g. pony has a proper ownership model. even the slow parrot can do lock-less multi-threading. ATS has a far advanced typesystem, and thus can prove far better correctness. ... | null | 1 | 1491114601 | False | 0 | dfpydj1 | t3_62wye0 | null | null | t1_dfpr0ia | null | 1493723094 | -5 | t5_2fwo | null | null | null |
null | XORosaurus | null | By querying an external DNS server... | null | 0 | 1491114750 | False | 0 | dfpyfjw | t3_62vx64 | null | null | t1_dfpxrgv | null | 1493723122 | 9 | t5_2fwo | null | null | null |
null | vaniceast | null | Thanks for sharing your ideas.
I'm planning on writing the next version of EQAN in C++.
Like I said in the "limitation" section of the README the UI is far from perfect. I will rectify that soon. | null | 0 | 1491114814 | False | 0 | dfpygfp | t3_62x23z | null | null | t1_dfpwegc | null | 1493723133 | 1 | t5_2fwo | null | null | null |
null | kitsunde | null | Tokens aren't a substitute for sessions. It's a substitute for basic-auth, for basically the reason you mentioned (assuming no third-party reasons).
It's not meaningfully more of a security risk to keep the password on the client if they need to exchange their username and password to get the token in the first place. Although if you feel strongly that the attack surface increases if we're carrying it around, I wouldn't argue my case, it's a trade off.
OAuth was invented if you need to give a third party to request a token securely, without having to ask the user to copy paste it like we sometimes do. | null | 0 | 1491115032 | False | 0 | dfpyjea | t3_62ul90 | null | null | t1_dfpy426 | null | 1493723172 | 3 | t5_2fwo | null | null | null |
null | 4_teh_lulz | null | Nearly none, unless you have a very specific position that requires it. | null | 0 | 1491115036 | False | 0 | dfpyjg1 | t3_62xwba | null | null | t1_dfpwveu | null | 1493723173 | 47 | t5_2fwo | null | null | null |
null | dfhaan | null | Implying that critical infrastructure isn't already on antique hardware.
I spent 3 days last week resurrecting Windows NT 3.51 box. Hadn't seen a dual Pentium Pro board in 20 years at least. | null | 0 | 1491115140 | False | 0 | dfpyku1 | t3_62sqe6 | null | null | t1_dfp57tq | null | 1493723192 | 2 | t5_2fwo | null | null | null |
null | geeeoooort | null | Yes and a lot of other servers | null | 1 | 1491115392 | False | 0 | dfpyo8j | t3_62vx64 | null | null | t1_dfpyfjw | null | 1493723237 | 0 | t5_2fwo | null | null | null |
null | obsCUR | null | You know watcom was used for games in the old days. Of course, developers would use hand crafted asm for low level stuff, but i think the compiler outputed pretty good stuff in its own right. On top of this, it supported a number of tweaks and fine tuning options for integrating the inline asm code so as not to bust the optimizations, among a number of things. I can't say for sure watcom output is definitely faster than gcc output, but given watcom proven track record, i wouldn't hurry and say gcc's main advantage is it's speed. | null | 0 | 1491115543 | False | 0 | dfpyq7p | t3_62sqe6 | null | null | t1_dfpdbjr | null | 1493723264 | 1 | t5_2fwo | null | null | null |
null | tetrabinary | null | Very few, if any. My problem with these questions is even if the knowledge was needed on the job, it's easy to look up. Even if there isn't an immediate example in your language (which there probably is), then you just translate it.
Now you do want someone with good problem solving skills, but then you'd be better off with some unique puzzle that they couldn't have memorized before the interview.
You may also want to ensure they have knowledge of basic data structures. If someone didn't know the difference between an array and a linked list that's not a good sign. But even then, these questions are overkill. | null | 0 | 1491115546 | False | 0 | dfpyq8y | t3_62xwba | null | null | t1_dfpwveu | null | 1493723264 | 15 | t5_2fwo | null | null | null |
null | vaniceast | null | I think EQAN's algorithm leans on some of those concepts. Only problem is that the LHS of the "=" sign should be a single variable. EQAN can solve for x, y, and z provided your input equation is "x=sqrt(sin(z)/(y^2 ))". Multiple variables on LHS of the "=" sign will result in an error. | null | 0 | 1491115625 | 1491119422 | 0 | dfpyr9z | t3_62x23z | null | null | t1_dfpxz9s | null | 1493723278 | 1 | t5_2fwo | null | null | null |
null | dym3k | null | You both are right. I've changed it to lighter words. | null | 0 | 1491116017 | False | 0 | dfpywh4 | t3_62szbn | null | null | t1_dfpxehi | null | 1493723349 | 4 | t5_2fwo | null | null | null |
null | shevegen | null | Yeah it is strange - so many april fool's posts appear half-correct.
Just like your example how rustc is slow compared to C/GCC compilation - that is actually not a joke, it is true. | null | 1 | 1491116124 | False | 0 | dfpyxw1 | t3_62wye0 | null | null | t1_dfpr0ia | null | 1493723367 | -1 | t5_2fwo | null | null | null |
null | stroborobo | null | I don't think the Smalltalk community would agree with you. I haven't personally used them, but what the smalltalkers around me said was that Pharo is quite a hassle sometimes with far less libraries than e.g. Concom's VisualWorks, let alone what they've told me about GemStone's crazy capabilities as a distributed database.
I'm very impressed every time I see them building stuff using modern technologies even though they have such a small community to implement current protocols or file formats etc. | null | 0 | 1491116129 | False | 0 | dfpyxxz | t3_62sm8g | null | null | t1_dfpi927 | null | 1493723368 | 1 | t5_2fwo | null | null | null |
null | indigomm | null | The default value should be empty, and the framework should catch this and refuse to work - instead printing a message to go set the value using a command that generated a secure random value. A novice user will follow this to the letter and get a secure value. An expert may do something else, but will appreciate the need to use something random. | null | 0 | 1491116597 | False | 0 | dfpz42h | t3_62ul90 | null | null | t1_dfpnt0l | null | 1493723449 | 4 | t5_2fwo | null | null | null |
null | wlievens | null | > Maybe other languages have it harder
If I understand correctly, in Spring (Java), JWT support is nonexistent and you have to integrate it yourself. | null | 0 | 1491116609 | False | 0 | dfpz47c | t3_62ul90 | null | null | t1_dfpr3hx | null | 1493723451 | 1 | t5_2fwo | null | null | null |
null | yawkat | null | Oh, I thought you were using token auth and session tokens as different concepts.
Keeping passwords on the client *is* a risk in my opinion. Passwords should be login-only, because users like to reuse passwords. There's also the fact that you can invalidate a session, but can't invalidate a password, for example if you lose your device. But I guess it's not that big of a deal in some scenarios. | null | 0 | 1491116640 | False | 0 | dfpz4l2 | t3_62ul90 | null | null | t1_dfpyjea | null | 1493723456 | 2 | t5_2fwo | null | null | null |
null | Xerxero | null | Same with redis | null | 0 | 1491116752 | False | 0 | dfpz5zu | t3_62ul90 | null | null | t1_dfpohi1 | null | 1493723475 | 2 | t5_2fwo | null | null | null |
null | leobru | null | It reduces the chance of division by zero where it was not supposed to happen mathematically. | null | 0 | 1491116902 | False | 0 | dfpz7wl | t3_62hu4c | null | null | t1_dfosav6 | null | 1493723501 | 1 | t5_2fwo | null | null | null |
null | dym3k | null | /u/knome pointed this out - explanation should focus on removing ambiguity, because even this joke has two versions (for example: https://www.reddit.com/r/Jokes/comments/1nmkfq/a_programmer_is_going_to_the_grocery_store/ ) | null | 0 | 1491117124 | False | 0 | dfpzasj | t3_62szbn | null | null | t1_dfpq56s | null | 1493723541 | 1 | t5_2fwo | null | null | null |
null | kazagistar | null | And the wrapper type has to look like optional, with a single empty variant. Basically, its a way to make Optionals compile to null pointers when possible without special casing it too much. | null | 0 | 1491117137 | False | 0 | dfpzay4 | t3_62wye0 | null | null | t1_dfpwiex | null | 1493723543 | 9 | t5_2fwo | null | null | null |
null | Fazer2 | null | I checked his history and most of his comments have negative score. I guess he's just a hateful man. | null | 0 | 1491117239 | False | 0 | dfpzc9t | t3_62oqiw | null | null | t1_dfpeygl | null | 1493723561 | 2 | t5_2fwo | null | null | null |
null | cybergibbons | null | Why? It's a genuine problem I have actively exploited against sites before. | null | 0 | 1491117493 | False | 0 | dfpzfme | t3_62ul90 | null | null | t1_dfpvnsw | null | 1493723605 | 5 | t5_2fwo | null | null | null |
null | cybergibbons | null | Why? | null | 0 | 1491117505 | False | 0 | dfpzfrt | t3_62ul90 | null | null | t1_dfppt0a | null | 1493723607 | 2 | t5_2fwo | null | null | null |
null | Rosydoodles | null | And then they'll just add quotation marks, probably. Not that I've unpicked a few things at work recently that were very much like that, not at all... | null | 0 | 1491117521 | False | 0 | dfpzfzl | t3_62ul90 | null | null | t1_dfpybj9 | null | 1493723610 | 1 | t5_2fwo | null | null | null |
null | lathiat | null | http://api.rubyonrails.org/classes/ActionDispatch/Session/CookieStore.html
"This cookie-based session store is the Rails default. It is dramatically faster than the alternatives." | null | 0 | 1491117533 | False | 0 | dfpzg4l | t3_62ul90 | null | null | t1_dfpvnsw | null | 1493723612 | 12 | t5_2fwo | null | null | null |
null | [deleted] | null | [deleted] | null | 0 | 1491117564 | 1492910882 | 0 | dfpzgj1 | t3_62vx64 | null | null | t1_dfpt95l | null | 1493723618 | 20 | t5_2fwo | null | null | null |
null | orinocos_flow | null | no, just the ones you tell it to query. kinda like when you setup your DNS servers on your router. | null | 1 | 1491117624 | False | 0 | dfpzh9m | t3_62vx64 | null | null | t1_dfpyo8j | null | 1493723627 | -1 | t5_2fwo | null | null | null |
null | robertmassaioli | null | Number four misses the fact that Ubuntu is built on top of Debian. A pretty important part of the joke. | null | 0 | 1491117734 | False | 0 | dfpzimr | t3_62szbn | null | null | t3_62szbn | null | 1493723646 | 9 | t5_2fwo | null | null | null |
null | emilvikstrom | null | Because the key needs to be coordinated between all machines in the cluster. | null | 0 | 1491117749 | False | 0 | dfpziu0 | t3_62ul90 | null | null | t1_dfpxca6 | null | 1493723649 | 6 | t5_2fwo | null | null | null |
null | veske | null | So you have a stack that is full and you are developing it ? Sounds very strange | null | 0 | 1491117830 | False | 0 | dfpzjuk | t3_62vx64 | null | null | t1_dfpv6hd | null | 1493723662 | 1 | t5_2fwo | null | null | null |
null | fwork | null | I'm so sorry. | null | 0 | 1491118117 | False | 0 | dfpznf3 | t3_62sqe6 | null | null | t1_dfpepoh | null | 1493723709 | 1 | t5_2fwo | null | null | null |
null | [deleted] | null | [deleted] | null | 0 | 1491118176 | False | 0 | dfpzo5c | t3_62vx64 | null | null | t1_dfpzh9m | null | 1493723719 | 1 | t5_2fwo | null | null | null |
null | paholg | null | I've just started interviewing. In my limited experience, I would say that there tends to be an algorithm question like one of these to demonstrate general competence, and then a more in-depth question that is relevant to position they are hiring for. | null | 0 | 1491118282 | False | 0 | dfpzpfj | t3_62xwba | null | null | t1_dfpwveu | null | 1493723736 | 6 | t5_2fwo | null | null | null |
null | WellAdjustedOutlaw | null | You're either being a pedantic dick, or you literally have no idea WTF you're talking about. Using BIND, or Unbound, or any of the other recursive-capable resolvers will work fine. It will query a lot of other servers in that it will traverse the structure of the DNS to resolve names, not just "the ones you tell it to query".
That's called forwarding, and that's not what /u/geeeoooort was fucking talking about. So I'm guessing you're a pedantic dick that also doesn't know WTF you're talking about. | null | 0 | 1491118799 | False | 0 | dfpzvog | t3_62vx64 | null | null | t1_dfpzh9m | null | 1493723822 | 5 | t5_2fwo | null | null | null |
null | dym3k | null | Thank you /u/lampshadish2. I didn't know that. I had confirmed it and updated the site ( http://eattheworldbook.com/content.html#exp3-3 ).
| null | 0 | 1491119040 | False | 0 | dfpzykb | t3_62szbn | null | null | t1_dfpn65e | null | 1493723861 | 7 | t5_2fwo | null | null | null |
null | ITwitchToo | null | To be fair, i don't think the article really did a good job of explaining what the requirements (including performance requirements) for this whole system were to start with. And that's why I actually believe asking whether this DNS thing is over engineered is a valid thing to do.
If this thing is just used for song lookup, i honestly don't see why a replicated postgres db (or mongo, or what have you) wouldn't be more than enough. It's just hard to tell without the data and a comparison. | null | 0 | 1491119044 | False | 0 | dfpzym0 | t3_62vx64 | null | null | t1_dfpukmb | null | 1493723861 | 9 | t5_2fwo | null | null | null |
null | Auxx | null | Looking at Android repos, they're behind actual development a lot! | null | 0 | 1491119390 | False | 0 | dfq02qj | t3_62tki4 | null | null | t1_dfpyc8n | null | 1493723916 | 1 | t5_2fwo | null | null | null |
null | Adverpol | null | The irony is that it's posts like these that spark feelings like OP's post. It's like vegetarians posting on a meat lover forum. We know they're doing good stuff and yes the world would be a better place if everyone followed their principles but dammit now let me enjoy my steak.
Note that I say this with the utmost respect for both the tone (polite) as well as the content (relevant) of your post. | null | 0 | 1491119517 | False | 0 | dfq049h | t3_62wye0 | null | null | t1_dfpr0ia | null | 1493723936 | 10 | t5_2fwo | null | null | null |
null | WellAdjustedOutlaw | null | Just a couple notes from someone fairly familiar with the DNS and how poorly developed resolver libraries impact it.
First, this is a good idea in some ways (and lots of people do it already), but a terrible idea in other ways. For example, Consul and MS Active Directory both use DNS as a mechanism to query and answer for service discovery. In fact, service discovery was a component designed into the DNS (See: SRV records, which never caught on for general use).
But this is a bad idea because different resolvers and servers query and answer with quirks. Unbound doesn't support all record types, so if they decide to use (or abuse) a record type not supported they're going to hit a dead end. The same applies for resolver libraries, though most OSs that Spotify would use are probably fine. Also, consistency in the DNS is _garbage_ in practice. Serial collisions happen frequently, and record modification without accompanying serial modification is too. Those two issues can seriously screw up IXFR, which means you basically rely on forced AXFR. For large zones, that can be a significant deal.
Using `dns-java` made sense in their architecture, but I'd _strongly_ suggest people stay far away from most of the Java DNS libraries. Fun little tricks like:
>The dns-java library will hold onto cached records for an hour if the local Unbound service fails or our DNS resolvers aren’t responding.
That's actually a somewhat big problem, but they haven't screwed themselves with it yet. They will, though. Everybody does.
Basically, what that means is the library improperly caches a result with a TTL that doesn't come from the answer. This is not only an RFC violation, but a huge potential to continue using stale, wrong, and maybe even harmful data in the face of failure. Imagine a network partition preventing an edge site from communicating with unbound instances. The rest of the network has detected a failure, and updated the data contained within their records. But these hosts have a library that instead of detecting a failure and stopping, will just blindly keep using the data that the entire rest of the network has abandoned. This is a potential disaster for things like leader election, primary db location information, key rotation, etc.
Anyway, the world is full of "DNS tricks". The query/answer design works somewhat well, and the variety of record types and label topology makes adapting it for other purposes simple and attractive, if not extremely dangerous and ill conceived. | null | 0 | 1491119953 | False | 0 | dfq09ce | t3_62vx64 | null | null | t3_62vx64 | null | 1493724003 | 26 | t5_2fwo | null | null | null |
null | isxek | null | It's a preference. I usually got the `term` version, since I don't really care for ligatures myself. | null | 0 | 1491119956 | False | 0 | dfq09dk | t3_62qrve | null | null | t1_dfox7hx | null | 1493724004 | 1 | t5_2fwo | null | null | null |
null | redditpirateroberts | null | You say it's hard to do the diff analysis in two passes because when doing the first it doesn't know what will be in the second. So what about running the analysis on both simultaneously to allow for doing it in only two passes? | null | 0 | 1491120037 | False | 0 | dfq0abw | t3_62iuku | null | null | t3_62iuku | null | 1493724016 | 1 | t5_2fwo | null | null | null |
null | Qatalife | null | Yeah I mean Haskell is probably one of the best.
https://github.com/Gabriel439/post-rfc/blob/master/sotu.md#compilers | null | 0 | 1491120215 | False | 0 | dfq0cb4 | t3_62wye0 | null | null | t1_dfpyc26 | null | 1493724044 | 1 | t5_2fwo | null | null | null |
null | recycled_ideas | null | I don't think you actually read the article.
This isn't a problem with using a default secret, that's irrelevant. The issue is using a secret which can be guessed in a dictionary attack.
They did over a billion values before they got to super secret. At that kind of speed you could start
| null | 0 | 1491120267 | False | 0 | dfq0cx1 | t3_62ul90 | null | null | t1_dfpnt0l | null | 1493724052 | 2 | t5_2fwo | null | null | null |
null | WellAdjustedOutlaw | null | Anybody saying "full stack software engineer" isn't a good anything.
>There are plenty of companies all over the world handing low latency services around the globe.
That's not entirely true. There are a few that do, some that use those companies to do the work for them, and then there's everybody else that realizes nobody does low-latency anything from any real distance (physics is a bitch), so all low-latency is actually local anyway.
>I'm sure they get by just fine without a 10 page long DNS bowl of soup.
You must not understand how the internet or globally deployed services work. At all. Because 10 pages of DNS soup is pretty much a starter course for how most of the popular sites and services you use actually work. How is it that you think someone in the UK types "facebook.com" and gets a 10ms response, and someone in Hong Kong does the same thing and gets the same 10ms response?
>This article read like Spotify has way too many engineers on payroll
They do.
>and they are over-engineering the fuck out of this particular part of the stack
Actually, I think the opposite. They saw an existing technology, didn't understand its strengths and weaknesses properly, and adopted it. Writing their own data store and consensus protocol would have been over-engineering. | null | 0 | 1491120346 | False | 0 | dfq0dtr | t3_62vx64 | null | null | t1_dfpv6hd | null | 1493724064 | 8 | t5_2fwo | null | null | null |
null | Derpscientist | null | At work in the last month I've implemented shortest path, database linked list api, iterative parallel BFS tree walker and iterative DFS tree searcher. For a personal image processing project I implemented floodfill. | null | 1 | 1491120388 | 1491159491 | 0 | dfq0eb3 | t3_62xwba | null | null | t1_dfpwveu | null | 1493724071 | 6 | t5_2fwo | null | null | null |
null | iomonad2 | null | DOS doesn't have dynamic linking, so there is no single 1.5MB libstdc++ binary to not fit. This toolchain only does static linking, so will use only the bits of libstdc++ that are actually needed. You can't use all of it at once, but you can use any of it.
The 16-bit code generated by the i386 backend with the -m16 flag is really 32-bit code with operand override and address override bytes so that it runs in 16-bit mode - it won't run on an actual 8086 CPU. | null | 0 | 1491120903 | False | 0 | dfq0k3u | t3_62sqe6 | null | null | t1_dfpmisw | null | 1493724148 | 6 | t5_2fwo | null | null | null |
null | iomonad2 | null | It's tiny model only so far. I'm working on support for small, medium, compact, large and huge models. | null | 0 | 1491120961 | False | 0 | dfq0kqi | t3_62sqe6 | null | null | t1_dfpj3ko | null | 1493724156 | 2 | t5_2fwo | null | null | null |
null | WellAdjustedOutlaw | null | Lookups are certainly the better part of this. But DNS is fraught with problems when updating these kinds of records. I can't even count the number of support calls I've seen at different places I've worked where customers data is totally mangled because an update was lost and not sent to the edge, or some similar tragic problem. They even touched upon a few issues in the article, but they haven't even scratched the surface. | null | 0 | 1491121047 | False | 0 | dfq0lpc | t3_62vx64 | null | null | t1_dfps0l6 | null | 1493724169 | 10 | t5_2fwo | null | null | null |
null | Jukolet | null | That's correct, but you don't need more than a filter that populates SpringSecurityContext from the JWT token. | null | 0 | 1491121700 | False | 0 | dfq0sor | t3_62ul90 | null | null | t1_dfpz47c | null | 1493724262 | 2 | t5_2fwo | null | null | null |
null | Spajk | null | Do you maybe know of a place where security can be discussed? I am making a local network application and I am looking for tips and opinions on security. | null | 0 | 1491121806 | False | 0 | dfq0tti | t3_62ul90 | null | null | t1_dfpnt0l | null | 1493724277 | 2 | t5_2fwo | null | null | null |
null | didroe | null | What is the JWT doing for you in that scenario? You're going to have to look up the epoch somewhere, so why not just use a session id and look up everything? | null | 0 | 1491122033 | False | 0 | dfq0wae | t3_62ul90 | null | null | t1_dfpnj3i | null | 1493724311 | 12 | t5_2fwo | null | null | null |
null | Daniel15 | null | ASP.NET is a fantastic platform. IMO it's the cleanest web platform available today, particularly with the design of the newer ASP.NET Core MVC. | null | 0 | 1491122196 | False | 0 | dfq0y05 | t3_62ul90 | null | null | t1_dfpunbo | null | 1493724333 | 6 | t5_2fwo | null | null | null |
null | delfinom | null | The type translations are already wrong. "long" on 32-bit arch is 32-bit not 64-bit. | null | 0 | 1491122542 | False | 0 | dfq11ns | t3_6290hb | null | null | t1_dfl2e2b | null | 1493724382 | 1 | t5_2fwo | null | null | null |
null | dagit | null | > It's really easy to make C and C++ crash and Rust definitely prevents some ways of doing that.
From a security point of view, It's not really about the crashing. A memory unsafe program can almost always be exploited with some effort. And exploits range from leaking information and secrets, privilege escalation, to out right arbitrary code execution. Crashing just becomes the ideal case (give or take denial of service).
Of course, for non security focused things crashing can be bad, but fixing crashes is a much higher bar. Even NASA struggles with that.
Memory safety is so important and C and C++ put the burden of proof on the user. As code bases become larger and more complex that burden becomes intractable without tools help us. Most languages these days are memory safe, give or take escape hatches, but for some tasks it's kind of unreasonable to expect people to adopt them. Python would be an unreasonable choice for writing an industrial strength operating system. I get excited about rust because it sits in an interesting place. Reasonable replacement for C at some of the things C excels at while being type safe and more productive than either C or C++ (in my opinion, and I have years of professional experience with both C and C++ ). | null | 0 | 1491123060 | 1491124287 | 0 | dfq16yw | t3_62wye0 | null | null | t1_dfpr0ia | null | 1493724453 | 30 | t5_2fwo | null | null | null |
null | GTB3NW | null | I don't know, redis is fairly quick.. But even then sticky sessions could provide you that time. | null | 0 | 1491123247 | False | 0 | dfq18ut | t3_62ul90 | null | null | t1_dfpyd5d | null | 1493724477 | 3 | t5_2fwo | null | null | null |
null | Berberberber | null | > If we built planes, everyone would be dead.
Where do you think avionics software comes from? | null | 0 | 1491123248 | False | 0 | dfq18v8 | t3_62wye0 | null | null | t1_dfpr0ia | null | 1493724478 | 20 | t5_2fwo | null | null | null |
null | Shadowys | null | You could always turn in into a postfix notation and solve from there | null | 0 | 1491123250 | False | 0 | dfq18vt | t3_62x23z | null | null | t1_dfpyr9z | null | 1493724478 | 1 | t5_2fwo | null | null | null |
null | nirataro | null | It takes literally one day to learn Kotlin coming from C#/Java background. I was really active in the community in the pre 1.0 Kotlin but I just can't be bothered to develop in JVM nor Android environment.
As soon as their native target is completed, I'll be back in a second.
Now th | null | 0 | 1491123400 | False | 0 | dfq1adq | t3_62utum | null | null | t3_62utum | null | 1493724498 | 5 | t5_2fwo | null | null | null |
null | GTB3NW | null | JWT is designed to lower the barrier of CPU time spent checking if this user is who they say they are and what kind of access they have. There's nothing wrong with doing a lookup after to check the session hasn't been invalidated. | null | 0 | 1491123610 | False | 0 | dfq1cil | t3_62ul90 | null | null | t1_dfplhqs | null | 1493724527 | 2 | t5_2fwo | null | null | null |
null | addmoreice | null | Fanuc's api returns one value for cycling and another value when it's in feedhold...except if it's an EDM cnc....in which case those two values are reversed. The call to check if a machine is an EDM machine? it works...if it's not an EDM, if it *is* an EDM then there is a seg fault in the api and it crashes the process.
So, to check if you have a machine in cycle or in feedhold, you first need to spawn a new process, see if it's an EDM machine, and if the spawned process crashes, then it's an EDM cnc, otherwise it's some other kind of CNC in which case you know which result is feedhold or cycling.
Did I mention my main project is a multi process, multi-threaded, networked, system with a plugin architecture? We support OPC, OPC UA, MTConnect, Siemens, Fanuc, Fanuc robots, on and on and on, at last count I've written 30 some plugin's, and each and every damn one of them has some weird quirk or bug that will never be fixed and needs to be supported. Many of them need to support *multiple* versions of the api's or communication protocols because some machines will simply never be updated. Ever. For any reason.
I'm not bald, but I can almost feel it coming.... | null | 0 | 1491123714 | False | 0 | dfq1dlo | t3_62sqe6 | null | null | t1_dfpznf3 | null | 1493724541 | 6 | t5_2fwo | null | null | null |
null | Berberberber | null | > "principles before personalities"
This is kind of thing people say when they haven't actually had to deal with random, unqualified passers-by questioning their experience and judgement. That kind of thing absolutely takes a psychological toll on people, and it's not far-fetched to say that not enabling $circlejerk (whether Rust, or Haskell, whatever) is good for the community of programmers at large. | null | 1 | 1491123754 | False | 0 | dfq1e0c | t3_62wye0 | null | null | t1_dfpsavo | null | 1493724546 | 4 | t5_2fwo | null | null | null |
null | [deleted] | null | [deleted] | null | 0 | 1491123818 | False | 0 | dfq1en3 | t3_62x23z | null | null | t1_dfq18vt | null | 1493724555 | 1 | t5_2fwo | null | null | null |
null | cbmuser | null | But Rust has no stable support for architectures other than x86 meaning that people are actively supporting the Intel/AMD vendor lockin.
Yes, I know Rust *can* be compiled for *some* other architectures, but those are all Tier II or worse meaning that they don't guarantee the next Rust update won't break anything.
And, honestly, I would never use a language or compiler which has only beta support for my preferred architecture if I want to write critical code.
What's the point of using a safe language when the compiler itself is not guaranteed to have stable support for my target?
And lots of people are brushing these concerns off with "Who cares about non-x86 hardware.", yet lots of these people get never tired of expressing their concerns with the system management co-processors present on modern Intel and AMD chips.
For me, portability and open hardware is more important than a safe language. | null | 1 | 1491123880 | False | 0 | dfq1fa1 | t3_62wye0 | null | null | t1_dfpr0ia | null | 1493724564 | 10 | t5_2fwo | null | null | null |
null | Sebb767 | null | Which, tbh, would be really funny when it's cracked. Imagine his face when he looks at the key and reads that! | null | 0 | 1491124634 | False | 0 | dfq1mnu | t3_62ul90 | null | null | t1_dfpr72p | null | 1493724661 | 2 | t5_2fwo | null | null | null |
null | addmoreice | null | I found an easy way to find a vegetarian in a crowded room. When the waiter asks how you want your steak, answer "bloody, I like to taste the murder".
The vegetarian is the one who awkwardly laughs in surprise while everyone else looks confused. | null | 0 | 1491124861 | False | 0 | dfq1ove | t3_62wye0 | null | null | t1_dfq049h | null | 1493724691 | -7 | t5_2fwo | null | null | null |
null | inu-no-policemen | null | Yea, they recently added Windows support (as host for development). Looks like it will be ready soon-ish. | null | 0 | 1491124988 | False | 0 | dfq1q3s | t3_62tki4 | null | null | t1_dfpwcc9 | null | 1493724707 | 1 | t5_2fwo | null | null | null |
null | [deleted] | null | [deleted] | null | 0 | 1491125178 | False | 0 | dfq1rzz | t3_62xwba | null | null | t1_dfq0eb3 | null | 1493724735 | 11 | t5_2fwo | null | null | null |
null | Widdrat | null | JWT? | null | 0 | 1491125387 | False | 0 | dfq1u2q | t3_62ul90 | null | null | t1_dfpyd5d | null | 1493724763 | 1 | t5_2fwo | null | null | null |
null | vingborg | null | Indeed. What most people seem to miss in these discussions, is that while machine may soon overtake humans in most endeavours of the mind, they have no reason to. They are not motivated. They have no intent, they have no will. They don't wake up in the morning and think "it's great to be alive". In fact, they don't ever wake up, however clever they seem. And that is why your man-machine is so powerfull: humans bring purpose to the equation.
Now, whether machines will ever reach that, and thus truly emancipate themselves from humans, is a philosophical (perhaps even religious) question of a completely different order. Maybe if they get teamed up with mice. A mouse/machine collaboration might work almost as well ;-)
Artificial Intention, that's what I worry about. | null | 0 | 1491125565 | False | 0 | dfq1vrb | t3_62weyo | null | null | t3_62weyo | null | 1493724784 | 2 | t5_2fwo | null | null | null |
null | gopher9 | null | > Some basic proof tactics are provided.
Actually, a whole new framework for creating tactics is provided: https://www.youtube.com/watch?v=pqFgYCdiYz4 | null | 0 | 1491125858 | False | 0 | dfq1yj6 | t3_62scvv | null | null | t1_dfpawhy | null | 1493724822 | 3 | t5_2fwo | null | null | null |
null | icantthinkofone | null | On reddit, whenever anyone writes C code, a redditor will always claim buffer overflows and memory leaks. Cause they read about them on reddit. | null | 1 | 1491125875 | False | 0 | dfq1yow | t3_62wye0 | null | null | t1_dfppx38 | null | 1493724824 | 4 | t5_2fwo | null | null | null |
null | kqr | null | I haven't had any noticeable problems with the OpenNIC anycast either. | null | 0 | 1491126002 | False | 0 | dfq1zy9 | t3_62vx64 | null | null | t1_dfpwv3r | null | 1493724841 | 1 | t5_2fwo | null | null | null |
null | helm | null | Yeah, they're really shooting themselves in the foot, Beatles' style | null | 0 | 1491126115 | False | 0 | dfq2108 | t3_62vx64 | null | null | t1_dfptgxs | null | 1493724855 | 5 | t5_2fwo | null | null | null |
null | jooke | null | Don't they intercept failed requests and redirect to their own site? | null | 0 | 1491126119 | False | 0 | dfq211p | t3_62vx64 | null | null | t1_dfpwv3r | null | 1493724856 | 9 | t5_2fwo | null | null | null |
null | jooke | null | Isn't that likely to be a lot slower since you'll not have very many addresses cached (relative to a public server)? | null | 0 | 1491126218 | False | 0 | dfq21zm | t3_62vx64 | null | null | t1_dfpspo3 | null | 1493724868 | 4 | t5_2fwo | null | null | null |
null | peterfirefly | null | It turns out there is a better (and faster!) hack.
https://en.wikipedia.org/wiki/Triple_fault#Other_uses
| null | 0 | 1491126341 | False | 0 | dfq237b | t3_62sqe6 | null | null | t1_dfpradf | null | 1493724884 | 2 | t5_2fwo | null | null | null |
null | [deleted] | null | [deleted] | null | 0 | 1491126358 | False | 0 | dfq23d7 | t3_62ul90 | null | null | t1_dfq0y05 | null | 1493724887 | -1 | t5_2fwo | null | null | null |
null | matthieum | null | I'm pretty sure; it was discussed earlier this week on r/rust and tiny_fishbowl is a Tor developer ;) | null | 0 | 1491126394 | False | 0 | dfq23pn | t3_62oqiw | null | null | t1_dfpkj50 | null | 1493724891 | 1 | t5_2fwo | null | null | null |
null | sockmeistr | null | Why would you name this Opus? The [established open-source royalty-free Opus codec](https://opus-codec.org/development/) has been using that name for at least 5 years... | null | 0 | 1491126449 | False | 0 | dfq248x | t3_62ys2x | null | null | t3_62ys2x | null | 1493724898 | 21 | t5_2fwo | null | null | null |
null | vytah | null | Linked lists are useful in certain environments, like when you don't have enough memory to play around with copying your arraylist, you can't just use a bunch of fixed-size buffer, because you can't waste memory for the empty space in them, and your processor doesn't have a cache, so you won't get the bonus of locality effects when iterating over the list.
But if that's the case, maybe the answer is "buy a better microcontroller". | null | 0 | 1491126619 | False | 0 | dfq25wz | t3_62xwba | null | null | t1_dfpxpyx | null | 1493724920 | 2 | t5_2fwo | null | null | null |
null | peterfirefly | null | There were plenty of DOS extenders for 16-bit protected mode. Borland Pascal 7.0 could build 16-bit protected mode binaries with absolutely no hassles. | null | 0 | 1491126642 | False | 0 | dfq264t | t3_62sqe6 | null | null | t1_dfpu1rr | null | 1493724923 | 1 | t5_2fwo | null | null | 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.