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
shevegen
t2_atqp
You mean men giving birth to kids? Yeah. That's a field with a very low male participation level. I wonder why.
null
1
1543667535
False
0
eaum58w
t3_a22biq
null
null
t1_eaukx74
/r/programming/comments/a22biq/becoming_a_better_supporter_of_women_in_tech/eaum58w/
1546275123
-4
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
0
1544797998
1544992420
0
ebrttat
t3_a61jek
null
null
t1_ebrsvon
/r/programming/comments/a61jek/we_need_an_fda_for_algorithms/ebrttat/
1547598758
2
t5_2fwo
r/programming
public
null
False
shevegen
t2_atqp
Precisely! Or worded differently - programming is highly overrated grunt work most of the time.
null
0
1543667564
False
0
eaum649
t3_a22biq
null
null
t1_eaul203
/r/programming/comments/a22biq/becoming_a_better_supporter_of_women_in_tech/eaum649/
1546275134
5
t5_2fwo
r/programming
public
null
False
papertowelroll17
t2_ywfyrs
Exactly. Chances are those three places are similar, but not *exactly* the same. That Part P that now handles all three cases might be a beautifully flexible piece of software. On the other hand,trying to make part P a universal solution from the very beginning is much, much, more difficult to get right.
null
0
1544798238
False
0
ebruct0
t3_a5y50c
null
null
t1_ebr5m6g
/r/programming/comments/a5y50c/why_bad_software_architecture_is_easy_to_monetize/ebruct0/
1547598999
3
t5_2fwo
r/programming
public
null
False
eras
t2_28h5b
How about rewriting that to: x.BoundedValuesTypeClass.maxBound == x.value and then bind the relevant type classes to values upon creation?
null
0
1543667584
False
0
eaum6pl
t3_a1lbh8
null
null
t1_eauceva
/r/programming/comments/a1lbh8/announcing_typescript_32/eaum6pl/
1546275141
1
t5_2fwo
r/programming
public
null
False
OutOfApplesauce
t2_6jeyk
With that many you do it in Minecraft or, now, rust
null
0
1544798484
False
0
ebrux0o
t3_a61to1
null
null
t1_ebre7pb
/r/programming/comments/a61to1/write_your_own_virtual_machine/ebrux0o/
1547599280
4
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
0
1543667585
1543670575
0
eaum6qe
t3_a22biq
null
null
t3_a22biq
/r/programming/comments/a22biq/becoming_a_better_supporter_of_women_in_tech/eaum6qe/
1546275142
5
t5_2fwo
r/programming
public
null
False
Zakman--
t2_is8um
>When I said "niche" I meant a niche for which this particular technology was superior to the already existing ones. And then asked for an explanation as to how this is superior to the already existing solutions. >I don't mean that internal or B2B are niche, I meant the niche within that segment where Razor/Blazor is superior to already established technologies. There's no existing solution for this for those that want to work with .NET and the other established technologies that I've seen don't have as good as a component model as Razor Components. But again, this is mainly for existing .NET developers. >And this solves which problem exactly? Feels like you're taking the piss now... it solves the issues that come with the server-side model. The same issues that you brought up. Just say a customer suddenly wants offline support for a certain application then the client-side model would do the trick.
null
0
1544798517
False
0
ebruztm
t3_a5ssxk
null
null
t1_ebrqacu
/r/programming/comments/a5ssxk/razor_components_for_a_javascriptfree_frontend_in/ebruztm/
1547599315
3
t5_2fwo
r/programming
public
null
False
shevegen
t2_atqp
Disaster strikes again in the JavaScript ghetto. This time not in npm but in node. When will people ever learn?
null
0
1543667622
False
0
eaum7ue
t3_a1u6ge
null
null
t3_a1u6ge
/r/programming/comments/a1u6ge/bug_the_latest_nodejs_lts_can_make_permanent/eaum7ue/
1546275156
4
t5_2fwo
r/programming
public
null
False
sess573
t2_6et2d
> They make development faster, not slower. Long term yes, short term no. If you want to deliver 1.0 ASAP with no regards for future costs you will skip pretty much everything i mentioned, especially if the spec isn't airtight and you can get away with some errors. As for the rest, some might be skippable without catastrophy in a select few applications, but most are needed in most applications long term - I hope you can see past minor details and see my larger point. If the system you need has no security need, is going to have like 5 users and only work offline and no advanced logic you can probably get away with buying the cheapest shit you can find. > Also, there is a big difference between intentionally valuing simplicity and being lazy. I didn't mean any of these, firms that skimp on delivery to save cash will value speed over anything else. That means doing everything according to your first thought and no refactoring, it doesn't need to be lazy.
null
0
1544798560
False
0
ebrv3bj
t3_a5y50c
null
null
t1_ebrqpuu
/r/programming/comments/a5y50c/why_bad_software_architecture_is_easy_to_monetize/ebrv3bj/
1547599358
3
t5_2fwo
r/programming
public
null
False
didibus
t2_4xpocx2
If it's a pure function I don't change it. I just make a new one for my new purpose. Otherwise I just ripgrep for all callers and update them.
null
0
1543667794
False
0
eaumcz5
t3_a1o5iz
null
null
t1_eauclpw
/r/programming/comments/a1o5iz/maybe_not_rich_hickey/eaumcz5/
1546275221
3
t5_2fwo
r/programming
public
null
False
girandsamich
t2_5hqs6
Ah yes this last semester we had a project to write a compiler and getting expressions like that to work was a huge pain. How are you going about it?
null
0
1544798605
False
0
ebrv72m
t3_a61to1
null
null
t1_ebrqykt
/r/programming/comments/a61to1/write_your_own_virtual_machine/ebrv72m/
1547599405
2
t5_2fwo
r/programming
public
null
False
DeliciousIncident
t2_1uadtvaf
As the other user pointed out, make is available as part of mingw-w64 installation. It is indeed native.
null
0
1543668027
False
0
eaumk0z
t3_a219ba
null
null
t1_eauirtw
/r/programming/comments/a219ba/makefiles_best_practices/eaumk0z/
1546275307
2
t5_2fwo
r/programming
public
null
False
jms_nh
t2_5ymof
...only interpreted or compiled (or somewhere in between) language implementations.
null
0
1544798696
False
0
ebrvegp
t3_a60dlr
null
null
t1_ebrccq6
/r/programming/comments/a60dlr/the_difference_between_interpreted_languages_and/ebrvegp/
1547599497
3
t5_2fwo
r/programming
public
null
False
6-5-10-6-11
t2_iw16smm
Web printing does sound silly but you must remember the different features printers have. LAN and Web fax/email. Remote diagnostics. Consumable auto order. So if you're going to have a printer connected to a local network why not give it gateway access too? Maybe Phil is on vacation but forgot to print out reports. It is now possible for him to remote print without the need to travel back to the office. There are logistical reasons.
null
0
1543668082
False
0
eaumlk3
t3_a1ysx2
null
null
t1_eaukk65
/r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/eaumlk3/
1546275327
58
t5_2fwo
r/programming
public
null
False
justinmeiners
t2_pjfia
The actual instruction function that is generated in C++ should be identical to the C one, the difference in performance would come from using a table of function pointers instead of a goto. I would guess the table of function pointers is a bit slower, but perhaps the compiler can optimize it away. HN has some good discussions going on about optimization techniques: https://news.ycombinator.com/item?id=18678699
null
0
1544798790
1544799595
0
ebrvmbr
t3_a61to1
null
null
t1_ebrhgmg
/r/programming/comments/a61to1/write_your_own_virtual_machine/ebrvmbr/
1547599595
1
t5_2fwo
r/programming
public
null
False
VincentPepper
t2_dwxl7
The particular problem sounds like something solveable by profile guided optimisation. But I agree often it's simpler to optimize something by hand than trying to make the compiler play ball. As compilers improve more cases are covered where it's not worth to hand optimize. But we will likely never get to a point where everything can be optimized by an compiler.
null
0
1543668131
False
0
eaummys
t3_a1rp4s
null
null
t1_easvob1
/r/programming/comments/a1rp4s/why_is_2_i_i_faster_than_2_i_i_java/eaummys/
1546275344
1
t5_2fwo
r/programming
public
null
False
Cooleur
t2_j4kvh
Programming IS all about guidance, you fool. It's all zeros and ones in the end, how would your feeble human brain do without guidance ?
null
0
1544798826
False
0
ebrvpa6
t3_a62mux
null
null
t1_ebrcu6i
/r/programming/comments/a62mux/typescript_was_it_worth/ebrvpa6/
1547599631
10
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
1
1543668229
False
0
eaumpn8
t3_a22biq
null
null
t1_eaul203
/r/programming/comments/a22biq/becoming_a_better_supporter_of_women_in_tech/eaumpn8/
1546275377
-2
t5_2fwo
r/programming
public
null
False
doomvox
t2_s32d0
Lets not lower the bar too far. Not-as-bad-as-firefox isn't the standard for excellence.
null
0
1544798868
False
0
ebrvsro
t3_a5sg9k
null
null
t1_ebr4vn7
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebrvsro/
1547599675
2
t5_2fwo
r/programming
public
null
False
RireBaton
t2_4fah3
Uh oh, I might be evil.
null
0
1543668377
False
0
eaumtza
t3_a1tazn
null
null
t1_eauhih2
/r/programming/comments/a1tazn/company_google_tried_to_patent_my_work_after_a/eaumtza/
1546275430
2
t5_2fwo
r/programming
public
null
False
justinmeiners
t2_pjfia
Thanks, this is good info.
null
0
1544798876
False
0
ebrvtec
t3_a61to1
null
null
t1_ebrlaba
/r/programming/comments/a61to1/write_your_own_virtual_machine/ebrvtec/
1547599682
2
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
1
1543668418
False
0
eaumv6c
t3_a1ysx2
null
null
t3_a1ysx2
/r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/eaumv6c/
1546275445
0
t5_2fwo
r/programming
public
null
False
IGI111
t2_7zcpw
Well incidentally I'm French, so I have a bit more sympathy for the detractors of overregulation, given even our neoliberal politicians are enthusiast statists in some sense. It's a tad subjective I suppose. But that's besides my point. I'm simply trying to warn you about that common pitfall of reasoning: that it's oh-so-telling that people are still saying X when we know Y is true. It's just raising one's own confirmation bias as an argument. And it's not really conducive to constructive discussion.
null
0
1544798883
False
0
ebrvtz3
t3_a61jek
null
null
t1_ebrttat
/r/programming/comments/a61jek/we_need_an_fda_for_algorithms/ebrvtz3/
1547599689
2
t5_2fwo
r/programming
public
null
False
shevegen
t2_atqp
See, if a burglar enters your house, you don't just critisize his lockpick.
null
1
1543668426
False
0
eaumvfa
t3_a1u6ge
null
null
t1_eatjldj
/r/programming/comments/a1u6ge/bug_the_latest_nodejs_lts_can_make_permanent/eaumvfa/
1546275448
0
t5_2fwo
r/programming
public
null
False
Superpickle18
t2_kzk9p
thats why real men use vim.
null
0
1544798893
False
0
ebrvuuj
t3_a61to1
null
null
t1_ebrkdmv
/r/programming/comments/a61to1/write_your_own_virtual_machine/ebrvuuj/
1547599700
17
t5_2fwo
r/programming
public
null
False
shevegen
t2_atqp
Shooting yourself into the foot is also not ... well, permanent.
null
0
1543668471
False
0
eaumwom
t3_a1u6ge
null
null
t1_eauihmy
/r/programming/comments/a1u6ge/bug_the_latest_nodejs_lts_can_make_permanent/eaumwom/
1546275463
3
t5_2fwo
r/programming
public
null
False
SubspaceEngine
t2_178yue
// @param n {number} The number to compare but also sometimes not a number but not not !NaN Man, even an intuitionistic mathematician would take offense at that many uses of "not".
null
0
1544799010
False
0
ebrw4l2
t3_a5sg9k
null
null
t1_ebq2sv5
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebrw4l2/
1547599849
2
t5_2fwo
r/programming
public
null
False
conventionistG
t2_3zcam
Si.
null
0
1543668477
False
0
eaumwty
t3_a22biq
null
null
t1_eaulbdf
/r/programming/comments/a22biq/becoming_a_better_supporter_of_women_in_tech/eaumwty/
1546275465
8
t5_2fwo
r/programming
public
null
False
sickofthisshit
t2_bw07
I still don't get what you mean by "dynamic" then. Does it have any meaning to you beyond "can't be efficiently compiled"?
null
0
1544799023
False
0
ebrw5ne
t3_a60dlr
null
null
t1_ebrscwy
/r/programming/comments/a60dlr/the_difference_between_interpreted_languages_and/ebrw5ne/
1547599862
2
t5_2fwo
r/programming
public
null
False
RireBaton
t2_4fah3
If a contract says you must wear a blue uniform, the uniform is not a contract, the contract is the contract.
null
0
1543668561
False
0
eaumz33
t3_a1tazn
null
null
t1_eatdtfd
/r/programming/comments/a1tazn/company_google_tried_to_patent_my_work_after_a/eaumz33/
1546275494
0
t5_2fwo
r/programming
public
null
False
Sledger721
t2_8ns9f
Honestly I'm considering trying to just pull the whole expression out, run it somehow to get the results, like a transcompilation type approach, then put that in the output. My other approach is to create like an array of every opening parenthesis with its string index, solve each one as it goes to the closing, in a loop that moves backwards so that you solve inside-out, right-to-left.
null
0
1544799089
False
0
ebrwb8h
t3_a61to1
null
null
t1_ebrv72m
/r/programming/comments/a61to1/write_your_own_virtual_machine/ebrwb8h/
1547599931
0
t5_2fwo
r/programming
public
null
False
Nation_State_Tractor
t2_oas54
[*laughs in cross-platform development*](https://en.wikipedia.org/wiki/Grace_Hopper)
null
0
1543668602
False
0
eaun08j
t3_a22biq
null
null
t1_eauldrc
/r/programming/comments/a22biq/becoming_a_better_supporter_of_women_in_tech/eaun08j/
1546275507
5
t5_2fwo
r/programming
public
null
False
inu-no-policemen
t2_yh2ls
Okay. For Dart that would be source code JIT, (sort of) bytecode JIT, and AOT. There was also an interpreter at some point. All of these were official implementations by Google. And JavaScript started being interpreted and then many years later there was some JIT and V8 didn't have an interpreter stage until recently and then these engines do also Asm.js and Wasm stuff. Ugh. Yea, very convenient. Another problem is that this distinction doesn't really tell you much. AOT compiled code can be slower than JIT compiled code. And startup with JIT can be perfectly fine if there is an interpreter stage. And the final problem is of course that it's usually wrong. People like to call JS an interpreted language. It's not.
null
0
1544799131
False
0
ebrwenp
t3_a60dlr
null
null
t1_ebrtqmx
/r/programming/comments/a60dlr/the_difference_between_interpreted_languages_and/ebrwenp/
1547599973
2
t5_2fwo
r/programming
public
null
False
elcric_krej
t2_rgonfuk
I've recently benchmarked it against redshifts, mariadb CS and clickhouse. Calling citrus CS a column store is...stretching it, it's more of a school experiment performance wise. Partially due to the complete lack of parallelism.
null
0
1543668615
False
0
eaun0mk
t3_a1wwdh
null
null
t1_eaujm9y
/r/programming/comments/a1wwdh/why_the_rdbms_is_the_future_of_distributed/eaun0mk/
1546275513
0
t5_2fwo
r/programming
public
null
False
deceased_parrot
t2_7q7zg
> There's no existing solution for this for those that want to work with .NET Seriously? I would expect at least .NET, the poster child of enterprise intranet applications would have solved that problem already multiple times over. > Feels like you're taking the piss now... it solves the issues that come with the server-side model. Yes, but that's my whole point - it's solving a problem _it_ created! This is not a problem the user has, this is not even a problem other software has, this "problem" is specific to Razor/Blazor. Somebody please correct me here.
null
0
1544799148
False
0
ebrwfzc
t3_a5ssxk
null
null
t1_ebruztm
/r/programming/comments/a5ssxk/razor_components_for_a_javascriptfree_frontend_in/ebrwfzc/
1547599990
0
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
0
1543668641
False
0
eaun1bk
t3_a22biq
null
null
t1_eaul203
/r/programming/comments/a22biq/becoming_a_better_supporter_of_women_in_tech/eaun1bk/
1546275521
1
t5_2fwo
r/programming
public
null
False
justinmeiners
t2_pjfia
Thanks! And yes, Bisqwit is rad. Would you also say that the JVM is not a VM, or what does it do fundamentally differently?
null
0
1544799209
False
0
ebrwl4h
t3_a61to1
null
null
t1_ebre19j
/r/programming/comments/a61to1/write_your_own_virtual_machine/ebrwl4h/
1547600057
1
t5_2fwo
r/programming
public
null
False
conventionistG
t2_3zcam
I don't think me message got across. But also, that's a bit goofy. There are plenty female inventors, but most of them already have names.
null
0
1543668646
False
0
eaun1gp
t3_a22biq
null
null
t1_eauldrc
/r/programming/comments/a22biq/becoming_a_better_supporter_of_women_in_tech/eaun1gp/
1546275522
1
t5_2fwo
r/programming
public
null
False
zeroone
t2_3782z
Great. It's really unfortunate that it's still not possible to simply write Student[] studentArray = studentList.toArray();
null
0
1544799238
False
0
ebrwngn
t3_a5umpk
null
null
t1_ebrho58
/r/programming/comments/a5umpk/10_new_features_in_java_11/ebrwngn/
1547600087
3
t5_2fwo
r/programming
public
null
False
tzjmetron
t2_13hwdxno
I didn't like it much. I watched this yesterday, and it started out promising enough, but it seemed like too much of build-up towards Dependent Types (?) - stopped watching halfway through. Also, creating a new dummy language just for this sort of exercise ("Pie") seemed kind of forced - as if the presenter wanted to inject a bit of his Lisp-love into the whole matter. Haskell or Idris would have more than sufficed instead of a pseudo-Scheme.
null
0
1543668828
False
0
eaun6vz
t3_a205ai
null
null
t3_a205ai
/r/programming/comments/a205ai/a_little_taste_of_dependent_types_by_david/eaun6vz/
1546275619
3
t5_2fwo
r/programming
public
null
False
combinatorylogic
t2_iab4d
Dynamic = dependent on a *dynamic* (i.e., runtime) information. Things like duck typing (method dispatching using hash tables), things like dynamic variable lookup (like the dynamic scoping in elisp), evaluating strings constructed in runtime (as in Tcl), and so on.
null
0
1544799303
False
0
ebrwsyj
t3_a60dlr
null
null
t1_ebrw5ne
/r/programming/comments/a60dlr/the_difference_between_interpreted_languages_and/ebrwsyj/
1547600154
7
t5_2fwo
r/programming
public
null
False
nfrankel
t2_ayl6m
I like your analogy!
null
0
1543668887
False
0
eaun8qv
t3_a2144y
null
null
t1_eaujjfz
/r/programming/comments/a2144y/5_initiatives_to_modernize_jenkins_and_kill_the/eaun8qv/
1546275641
3
t5_2fwo
r/programming
public
null
False
AckmanDESU
t2_7f0sl
I’m sorry but that windows 10 size is an issue on your end. It’s nowhere near that big.
null
0
1544799305
False
0
ebrwt3e
t3_a5sg9k
null
null
t1_ebravhc
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebrwt3e/
1547600156
2
t5_2fwo
r/programming
public
null
False
MadRedHatter
t2_skbl1
If they hired you, you could just relicense it. You're the only copyright holder so you can do whatever you want with it.
null
0
1543668911
False
0
eaun9hl
t3_a1tazn
null
null
t1_eat66u0
/r/programming/comments/a1tazn/company_google_tried_to_patent_my_work_after_a/eaun9hl/
1546275651
9
t5_2fwo
r/programming
public
null
False
papertowelroll17
t2_ywfyrs
To be clear I have very limited experience dealing with software via contract, and I wasn't intending to offer advice on that subject. On the other hand, for in-house software development, I strongly believe in YAGNI and not building things before they are necessary. Personally I feel like automated testing pays for itself very early on in the project, especially with multiple developers.
null
0
1544799318
False
0
ebrwu8l
t3_a5y50c
null
null
t1_ebrv3bj
/r/programming/comments/a5y50c/why_bad_software_architecture_is_easy_to_monetize/ebrwu8l/
1547600170
1
t5_2fwo
r/programming
public
null
False
mallardtheduck
t2_321ha
> Maybe Phil is on vacation but forgot to print out reports. It is now possible for him to remote print without the need to travel back to the office. That's _exactly_ what corporate VPNs were designed for.
null
0
1543668914
False
0
eaun9kh
t3_a1ysx2
null
null
t1_eaumlk3
/r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/eaun9kh/
1546275652
106
t5_2fwo
r/programming
public
null
False
munificent
t2_331sn
> the main difference here is that a Virtual Machine is designed to run on the Platform you're running it on There are two fairly unrelated uses of "virtual machine". One is what you describe — hardware level virtualization. It's what containers like Docker do. The goal is not to abstract away the chip, but to insulate the OS. The other is what this article describes — a software-level implementation of some chip, either real or imaginary. The latter is a valid use of the term. The Java Virtual Machine doesn't require running on a real "Java chip", but it's still a virtual machine.
null
0
1544799487
False
0
ebrx87q
t3_a61to1
null
null
t1_ebrfwl8
/r/programming/comments/a61to1/write_your_own_virtual_machine/ebrx87q/
1547600344
20
t5_2fwo
r/programming
public
null
False
contact287
t2_13fgx
Yeah when I saw it was printers I thought this was going to be weev sending KKK recruitment flyers again.
null
0
1543668937
False
0
eauna6x
t3_a1ysx2
null
null
t1_eauk32w
/r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/eauna6x/
1546275660
24
t5_2fwo
r/programming
public
null
False
Sledger721
t2_8ns9f
Search trees are the expected way to solve this but I'm deadass set on being able to rewrite this compiler in assembly and there's absolutely no way I could write a search tree in assembly haha.
null
0
1544799546
False
0
ebrxd38
t3_a61to1
null
null
t1_ebrt86r
/r/programming/comments/a61to1/write_your_own_virtual_machine/ebrxd38/
1547600428
5
t5_2fwo
r/programming
public
null
False
Vhin
t2_asoov
It wasn't really supposed to be a serious suggestion, as much as it was simply a comment on how fucked up the patent system is.
null
0
1543668966
False
0
eaunb2d
t3_a1tazn
null
null
t1_eau2mt5
/r/programming/comments/a1tazn/company_google_tried_to_patent_my_work_after_a/eaunb2d/
1546275670
1
t5_2fwo
r/programming
public
null
False
jeffbarge
t2_4eqvw
You sure sound like a joy to work with.
null
0
1544799685
False
0
ebrxokv
t3_a62mux
null
null
t1_ebrcu6i
/r/programming/comments/a62mux/typescript_was_it_worth/ebrxokv/
1547600571
6
t5_2fwo
r/programming
public
null
False
Sopel97
t2_15ivda
And people still try to bash c++ for having signed integer overflow be undefined behaviour. Same goes for many others.
null
0
1543669096
False
0
eaunf39
t3_a1rp4s
null
null
t1_eauggtr
/r/programming/comments/a1rp4s/why_is_2_i_i_faster_than_2_i_i_java/eaunf39/
1546275719
1
t5_2fwo
r/programming
public
null
False
x18n
t2_1xxpk3ja
Yeah, this sounds much more plausible. That's what we do with HLS (at a much smaller scale obviously). Not sure how he made that assumption. Jumping between servers only makes sense if you switch from Australia to USA to Europe (to give an extreme example), but for a European client it won't matter much whether the stream comes from the UK or Germany.
null
0
1544799702
False
0
ebrxq0x
t3_a63i69
null
null
t1_ebrl1e6
/r/programming/comments/a63i69/how_netflix_works_the_hugely_simplified_complex/ebrxq0x/
1547600589
10
t5_2fwo
r/programming
public
null
False
that_which_is_lain
t2_79zaj
I believe that’s the point.
null
0
1543669137
False
0
eaungb2
t3_a1x9c3
null
null
t1_eatpzih
/r/programming/comments/a1x9c3/what_i_learned_about_cryptography_in_3_weeks/eaungb2/
1546275735
2
t5_2fwo
r/programming
public
null
False
girandsamich
t2_5hqs6
If you're interested, I can post some resources that might help
null
0
1544799736
False
0
ebrxsv5
t3_a61to1
null
null
t1_ebrwb8h
/r/programming/comments/a61to1/write_your_own_virtual_machine/ebrxsv5/
1547600624
3
t5_2fwo
r/programming
public
null
False
dvdkon
t2_dj4da
It's not "15x that calculation", but "15 runs of a program that does that calculation 1 billion times". 1 million runs (assuming a runtime of ~1 second) would take hundreds of hours.
null
0
1543669539
False
0
eauns3j
t3_a1rp4s
null
null
t1_easlkqk
/r/programming/comments/a1rp4s/why_is_2_i_i_faster_than_2_i_i_java/eauns3j/
1546275880
0
t5_2fwo
r/programming
public
null
False
Sn0wCrack7
t2_6a50ypi
Some people in the replies have certainly made me realised the difference is a bit more complex then I first understood tbh. I guess there's two major definitions of a VM, ones like JVM which defines an abstract machine and builds it, which well is what you've done the article, and ones like VirtualBox that virtualise hardware. I guess the bigger difference is that the platform doesn't exist in the first place, so you'd still call it a virtual machine. Funnily enough I brought this argument up to a friend of mine and he brought in an interesting aspect, what would you call say an emulator for one of these abstract platforms such as CHIP-8 or LC-3 if they were running on an FPGA. It kinda made we realise categorising these very similar things that are abstract is a bit tough and our varying definitions are going to clash at some point.
null
0
1544799797
False
0
ebrxxvg
t3_a61to1
null
null
t1_ebrwl4h
/r/programming/comments/a61to1/write_your_own_virtual_machine/ebrxxvg/
1547600687
3
t5_2fwo
r/programming
public
null
False
drfyzziks
t2_37bdz
That way lies madness. Madness and rilkefs.
null
0
1543669602
False
0
eauntxk
t3_a1we32
null
null
t1_eau8y5f
/r/programming/comments/a1we32/i_put_words_on_this_webpage_so_you_have_to_listen/eauntxk/
1546275903
3
t5_2fwo
r/programming
public
null
False
AckmanDESU
t2_7f0sl
Why menue
null
0
1544799857
False
0
ebry2xb
t3_a5sg9k
null
null
t1_ebpbctu
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebry2xb/
1547600750
1
t5_2fwo
r/programming
public
null
False
warlockface
t2_tkqw2k5
>Despite legislation, however, a gender pay gap remains. On average men travel further, work longer hours in jobs often with less flexibility and benefits, take less sick days and choose higher pay over other lifestyle choices. When adjusted, the alleged gender pay gap shrinks to virtually nothing. If we aren't adjusting for anything then it's a meaningless political bludgeon. >A more diverse team, with a more diverse range of backgrounds and experiences, are likely to exhibit a wider range of ideas, skills, techniques and approaches to problem-solving. Diversity breeds innovation and helps you reflect your customers. Diversity of experience in terms of skills and outlooks, so two straight/gay white/brown tall/short men/women with different backgrounds and experience will have different perspectives. What's painful is that social constructionists say that we are identical and that therefore equal outcome is the expected natural order, yet they simultaneously promote the idea that diversity (of superficial attributes, not work experience/skill) has benefits because what, the sexes are fundamentally different? Either diversity of sex brings some benefits (I think so) and we should also be able to accept differences in overall numbers or we are identical, there are no benefits to diversity and all differences in outcome are down to social conditioning and discrimination. Pick one. If you pick the latter then not using the same hostile, critical language for fields dominated by women and pouring equal effort and money into rectifying that "problem" is blinkered and fundamentally sexist.
null
0
1543669740
False
0
eauny9i
t3_a22biq
null
null
t3_a22biq
/r/programming/comments/a22biq/becoming_a_better_supporter_of_women_in_tech/eauny9i/
1546275956
23
t5_2fwo
r/programming
public
null
False
sess573
t2_6et2d
> Personally I feel like automated testing pays for itself very early on in the project, especially with multiple developers. Perhaps when building something highly advanced. Coding tests are like half of the coding time, that shit takes time to earn back. They don't really start paying you back until you find a bug with them.
null
0
1544799871
False
0
ebry42t
t3_a5y50c
null
null
t1_ebrwu8l
/r/programming/comments/a5y50c/why_bad_software_architecture_is_easy_to_monetize/ebry42t/
1547600764
2
t5_2fwo
r/programming
public
null
False
timbowen
t2_3djn8
Yeah I think this guy is really missing the point. If you want to get more women in the field you need to spark interest before they grow into women. When did you start getting interested in computers? For me, it was around age 8 or 10. If you really want to shift the demographic then do something to provide opportunities for girls to kindle an interest in writing code. The last time I googled this the racial and gender trends in software development mirrored racial and gender trends in computer science education. Get more girls to study CS and you will get more women in tech.
null
0
1543669816
False
0
eauo0l2
t3_a22biq
null
null
t1_eaul203
/r/programming/comments/a22biq/becoming_a_better_supporter_of_women_in_tech/eauo0l2/
1546275985
13
t5_2fwo
r/programming
public
null
False
tenebris-miles
t2_8oo1m
According to the post, the issue was not due to Spacemacs being inefficient, it was caused by blocking due to attempting to call a plugin that was not installed. It's like when I often have to explain to people that "blocking at the speed of light" doesn't get anyone anywhere. So if the problem is "embarrassingly parallel" and they can't figure out how to write a correct parallel code solution in C, then it won't magically be faster just because it's written in C, no matter how "efficient" it is. Efficiently doing no work is not progress. Another language that is normally slower but makes it possible for programmers of their experience level and education to write highly parallel code will often win in these cases since it isn't wasting time blocking. Maybe someone else can write faster equivalent C or assembly, but if you're the one writing it, it's a moot point.
null
0
1544799909
False
0
ebry7c6
t3_a61to1
null
null
t1_ebrkdmv
/r/programming/comments/a61to1/write_your_own_virtual_machine/ebry7c6/
1547600804
19
t5_2fwo
r/programming
public
null
False
NiveaGeForce
t2_t85qp
Pure nonsense. Algebraic topology relies heavily on categrory theory, which is not esoteric at all. Knowledge of category theory is very helpful for coming up with good composable programming abstractions.
null
0
1543669875
1543674204
0
eauo2mn
t3_a1yh8f
null
null
t1_eauhme7
/r/programming/comments/a1yh8f/categories_for_the_working_hacker_by_philip_wadler/eauo2mn/
1546276010
14
t5_2fwo
r/programming
public
null
False
MacStation
t2_g0c1i
I've never written anything close to a compiler, but can't I use something like RPN to evaluate that?
null
0
1544799959
False
0
ebrybj3
t3_a61to1
null
null
t1_ebrqykt
/r/programming/comments/a61to1/write_your_own_virtual_machine/ebrybj3/
1547600856
5
t5_2fwo
r/programming
public
null
False
SorryAerie
t2_2aj70fq6
did they catch him/her/trans/helicopter???
null
0
1543669890
False
0
eauo33z
t3_a1ysx2
null
null
t3_a1ysx2
/r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/eauo33z/
1546276016
-33
t5_2fwo
r/programming
public
null
False
tanguy_k
t2_hpa9w
Would be nice to have a publication date for the article
null
0
1544799966
False
0
ebryc2j
t3_a62mux
null
null
t3_a62mux
/r/programming/comments/a62mux/typescript_was_it_worth/ebryc2j/
1547600863
3
t5_2fwo
r/programming
public
null
False
combinatorylogic
t2_iab4d
> Because I'm not a machine and I do way more than developing software. And this is exactly why you should want to reduce complexity as much as possible. To do your shit quickly and go home. > I optimize for a variable balance of engagement, enjoyment, learning, results and lack of discomfort. You get to optimize for efficiency, if you want, but you don't get to tell me what to do. Efficiency is a prerequisite for all of the above. If you waste all your time on busywork (and you do, even if you don't want to admit it) instead of automating it all, everything else is beyond your reach. > I have very broad knowledge of how tons of different software packages can be installed and configured on a specific system or set of systems for a given application/task and how they connect together in terms of system architecture, how to setup and operate CI/CD pipelines, and how to use all of the above to deploy applications for which I typically write plumbing code (middleware, error handling and reporting, tracking/monitoring, that sort of stuff) and assist with higher level SwEng stuff (architecture, refactoring, etc.). Yes, I was always laughing at you devops types for this. This kind of stuff that we, normal developers, do with expert systems and constraint solvers in no time, you're sweating out manually. If your goal is to look busy - then fine, keep doing it, but if you want to finish your work quickly and go home - than you're evidently doing it all wrong. If Cucumber was the best thing you devops could come up with, I really pity you. > But I don't specialize in any particular domain. In other words, I see at least 3 different languages on any given day. And I see and use few dozens every day. This way I don't do too much hard work and keep my cognitive load low. > Given this context, I really don't want another DSL. You can keep them. I have enough cognitive load already. How many times shall I repeat the obvious: the more DSLs you use, the *lower* your cognitive overload is. That's the very reason to use DSLs - to reduce complexity and cognitive load. That's the way human minds work - we always construct *languages* to hide away complexity. > Seriously? Obviously. Say insane or ignorant things - be perceived as insane or ignorant. This is how it works. Your views are very high on the insanity scale. > You can do it in many different ways. But that is besides the point. The point is that tooling which prevents you from making mistakes is beneficial, DSL based or not. And this is a good example of insanity. No, you cannot enforce discipline any other way. Either you do it on *semantics* level, or you fuck it up in runtime. No other ways, at least, no other ways discovered so far. > 'll believe it when I see it. Show me a side to side comparison of eDSL based projects vs. say, a run of the mill PHP web app or something similar, one that goes beyond the basic SLOC count and feature implementation time. SLAs, bugs per feature introduced or modification and MTBFs at a bare minimum. Nope. I'd rather stay away from anything that reeks of the web shit. I have zero interest in even thinking about web, not just discussing it. I can give examples from the areas that matter (i.e., not web) - CAD/CAE, HPC, hardware design, software-hardware co-design, OS, real-time networking, signal processing, embedded, finance and so on. Leave the stinky web crap to the special school dropouts. > That's not IDE support. That's VIM's default settings (almost, you need ctags for JTD). You have some DSL, which is a source for some Go (or whatever) code generated by a text processing tool. How the fuck you'll get a support for all of the above in Vim or whatever other IDE, without *implementing* all this shit on your own? > And yes, all of those are supported for the generated code because it is just plain go code. It is part of the repository, as I said. Actual files on disk. I do not care about the generated boilerplate shit. I do not want to read it (unless I fucked up really majestically, and have to debug the code generation process itself). I want to read the *source* that was used to generate all that code. E.g., if it's a parser, I want to read BNF. If it's some ORM boilerplate, I want to read the database schema. If it's a rule engine, I do not want to see those shitty `if` ladders - I want to read the rules. And when this code is running, I want the debugger to point me to the actual source, not the generated intermediate shit, which, as I said above, I do not want to see, I do not want to think about it, I do not want to waste a second of my time with it - I want to finish my work quickly and go home. All the tooling help me with doing things with as little cognitive load as possible - debuggers included. > Debuggers are a different story. "In devop we are not believe in debugger, we are propose TDD... and print_r(); die();" It's getting more and more hilarious. All the hipstor crap like docker and kubernetes first, now TDD and unit tests. You're evidently not interested at all in getting things done as quickly and simply as possible, you just want to look busy. > For small projects, I agree though, integration testing is sufficient for validation. Unit testing in general and TDD in particular are absolutely useless (and often harmful) for most of the projects, regardless of their size. > Not with proper use of encapsulation (in an OO environment) or locality (in procedural style). I get the feeling that you think Go is just C with a garbage collector bolted on. Not exactly the case. It'd be hilarious to see how you're debugging a horrible `if` ladder in your dumb pitiful Go, when in fact the underlying logic is just a couple of dozen of rules that won't take more than a hundred lines of code in any decent expert system. > I'll try to lower my cognitive load instead so that I can perform better without burning out. You have no faintest idea of what you're talking about. DSLs are the *only* way known to our civilisation that allows to massively reduce your cognitive load. > For people who use go, it provides an adequate level of abstraction for the type of work being done. No, it does not, and you know it. Go is never an adequate level of abstraction. Your problem domains do not even have such terms as "function", "variable", "data type", "for loop" and so on, all those dumb primitive constructs you're operating with when you're dealing with Go code. None of the stuff you described above can be adequately expressed in such terms. It must be expressed as rules, patterns and strategies, for example.
null
0
1543669980
False
0
eauo60a
t3_a1calg
null
null
t1_eat9i5d
/r/programming/comments/a1calg/defacto_closed_source_the_case_for_understandable/eauo60a/
1546276052
0
t5_2fwo
r/programming
public
null
False
jephthai
t2_591d
Trees and lists are sometimes easier to grok in assembly. At least for me anyway. Something about everything being a pointer and commenting every line...
null
0
1544800028
False
0
ebryham
t3_a61to1
null
null
t1_ebrxd38
/r/programming/comments/a61to1/write_your_own_virtual_machine/ebryham/
1547600928
7
t5_2fwo
r/programming
public
null
False
birdbrainswagtrain
t2_car4b
How to <name of some obscure software as a verb>. Of all the ways you could have chosen to advertise this thing, this is the one you picked.
null
0
1543670004
False
0
eauo6rl
t3_a1u1gy
null
null
t3_a1u1gy
/r/programming/comments/a1u1gy/how_to_ilmerge_unmanaged_dll/eauo6rl/
1546276062
1
t5_2fwo
r/programming
public
null
False
sickofthisshit
t2_bw07
But dynamic variable scope can be done with compiled code. "Duck typing" is as much about how method resolution is abstractly defined as it is about the concrete dispatch implementation. Virtual method dispatch in C++ is determined at run time: what's the value of my vtable pointer? CLOS is pretty flexible but also supports compilation and implementations work hard to make efficient caches for dispatch.
null
0
1544800090
False
0
ebrymhk
t3_a60dlr
null
null
t1_ebrwsyj
/r/programming/comments/a60dlr/the_difference_between_interpreted_languages_and/ebrymhk/
1547601021
4
t5_2fwo
r/programming
public
null
False
MarcinKonarski
t2_2n39su
Thank you for "bizarre game of Pokemon", I will use that from now to describe leftists idea of diversity.
null
1
1543670010
False
0
eauo6xa
t3_a22biq
null
null
t1_eaukq54
/r/programming/comments/a22biq/becoming_a_better_supporter_of_women_in_tech/eauo6xa/
1546276063
-2
t5_2fwo
r/programming
public
null
False
alexwh
t2_8y4xh
For JavaScript it's a whole lot murkier, yes. Maybe calling it a "hybrid language" or something would be more descriptive? I don't think it's worth tearing down existing naming conventions just because some languages don't fit into them. I still believe there's value in calling C a compiled language and Python an interpreted one.
null
0
1544800270
False
0
ebrz1gh
t3_a60dlr
null
null
t1_ebrwenp
/r/programming/comments/a60dlr/the_difference_between_interpreted_languages_and/ebrz1gh/
1547601206
2
t5_2fwo
r/programming
public
null
False
combinatorylogic
t2_iab4d
When it's a part of RHEL, for example, you can be sure it's perfectly vetted and maintained.
null
0
1543670026
False
0
eauo7fc
t3_a16q8g
null
null
t1_easxk2y
/r/programming/comments/a16q8g/exploiting_javascript_developer_infrastructure_is/eauo7fc/
1546276069
1
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
1
1544800353
1545667832
0
ebrz8g3
t3_a61eig
null
null
t1_ebrtcvy
/r/programming/comments/a61eig/types_and_why_you_should_care/ebrz8g3/
1547601295
2
t5_2fwo
r/programming
public
null
False
roodammy44
t2_366wv
I don’t know if you were around in the 90s, but a lot of the gaming magazines had [pictures of hot women on the front](https://m.imgur.com/gallery/cbX1I), and plenty of sexist stuff inside (not virtue signalling or whatever you call it, articles were literally talking about women as if they would never understand computers or in terms of having sex with them). Teenage me loved that, of course, but now I look back on it I can see why women might have been put off by all that. Perhaps things will get better now that all that has stopped. My daughter seems pretty interested in robots, I hope she won’t get put off by the culture around tech.
null
1
1543670074
False
0
eauo8w8
t3_a22biq
null
null
t1_eaul203
/r/programming/comments/a22biq/becoming_a_better_supporter_of_women_in_tech/eauo8w8/
1546276087
1
t5_2fwo
r/programming
public
null
False
papertowelroll17
t2_ywfyrs
... which for me is usually the first time I write a test!
null
0
1544800393
False
0
ebrzbos
t3_a5y50c
null
null
t1_ebry42t
/r/programming/comments/a5y50c/why_bad_software_architecture_is_easy_to_monetize/ebrzbos/
1547601340
2
t5_2fwo
r/programming
public
null
False
Saculs78
t2_mykrj
For fun but also to raise awareness about security.
null
0
1543670074
False
0
eauo8wf
t3_a1ysx2
null
null
t1_eauk7g9
/r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/eauo8wf/
1546276087
16
t5_2fwo
r/programming
public
null
False
combinatorylogic
t2_iab4d
> But dynamic variable scope can be done with compiled code. It cannot be *efficiently* implemented - you still must look up a variable (by name, or by some hash, does not matter) in a sequence of environments. No way you can map it to a register or allocate a slot in a stack frame for it. > Virtual method dispatch in C++ is determined at run time It's just one dereference. Unlike a table lookup, which is far more expensive. True, virtual calls are more on a "dynamic" side of language features, but not too dynamic when you compare it to the Python or Javascript method call semantics.
null
0
1544800435
False
0
ebrzf8g
t3_a60dlr
null
null
t1_ebrymhk
/r/programming/comments/a60dlr/the_difference_between_interpreted_languages_and/ebrzf8g/
1547601398
7
t5_2fwo
r/programming
public
null
False
Raenryong
t2_6xu1w
It's really what it feels like. Whenever I see companies excitedly making announcements that they have one of each demographic on a team or something, it's like... you are aware by trying to combat perceived racism/sexism, you're treating people entirely by their raw genetic characteristics, literal racism/sexism. I'd much rather hear about the amazing things this woman did etc rather than hear about how awesome it is that someone with a vagina is on a team.
null
0
1543670158
False
0
eauobop
t3_a22biq
null
null
t1_eauo6xa
/r/programming/comments/a22biq/becoming_a_better_supporter_of_women_in_tech/eauobop/
1546276121
1
t5_2fwo
r/programming
public
null
False
spook327
t2_3a794
Maybe a stupid question, but how would one go about compiling code for their own VM? I can't imagine giving GCC or LLVM a new output target is exactly trivial, but this exercise seems like it wouldn't go very far if you're hammering out machine code (and maybe an assembler) for it to work.
null
0
1544800504
False
0
ebrzkz1
t3_a61to1
null
null
t3_a61to1
/r/programming/comments/a61to1/write_your_own_virtual_machine/ebrzkz1/
1547601530
3
t5_2fwo
r/programming
public
null
False
AyrA_ch
t2_8mz48
Yes, but are they properly configured?
null
0
1543670228
False
0
eauodwl
t3_a1ysx2
null
null
t1_eaulsf4
/r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/eauodwl/
1546276149
6
t5_2fwo
r/programming
public
null
False
Karolus2001
t2_5l3fjmm
K I forgot j=0; except for that, did I translated the example into exercise well?
null
0
1544800702
False
0
ebs01md
t3_a65e05
null
null
t3_a65e05
/r/programming/comments/a65e05/so_im_at_second_highschool_we_did_some_basic/ebs01md/
1547602055
1
t5_2fwo
r/programming
public
null
False
arewemartiansyet
t2_pjgybuj
But would have marketing focused on men if they didn't have some indication that they are the most promising target group? After all, companies want to make sales. I think parenting has a lot to do with it. Parents give girls dolls and boys lego technic (generally speaking). Fixing that would probably be a good start.
null
0
1543670252
False
0
eauoeqa
t3_a22biq
null
null
t1_eaumpn8
/r/programming/comments/a22biq/becoming_a_better_supporter_of_women_in_tech/eauoeqa/
1546276160
1
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
0
1544800757
1544992418
0
ebs0689
t3_a61jek
null
null
t1_ebrvtz3
/r/programming/comments/a61jek/we_need_an_fda_for_algorithms/ebs0689/
1547602129
3
t5_2fwo
r/programming
public
null
False
Petrarch1603
t2_325l7
PewDiePie is so dreamy
null
0
1543670282
False
0
eauofq2
t3_a1ysx2
null
null
t3_a1ysx2
/r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/eauofq2/
1546276172
-21
t5_2fwo
r/programming
public
null
False
0987654231
t2_1gy6bm
> jQuery is still widely used today and it's not going away anytime soon. Only because of legacy support, it's not 2009 anymore I haven't needed to use jquery in years
null
0
1544800880
False
0
ebs0gmr
t3_a5zjwu
null
null
t1_ebr9tb9
/r/programming/comments/a5zjwu/bootstrap_340_released/ebs0gmr/
1547602271
4
t5_2fwo
r/programming
public
null
False
dinkandenza
t2_125f8l7u
Hi @ivquatch. I've been using typeclasses and instances quite heavily in JS, and haven't experienced the need to monkey patch anything yet. In fact, IMO JS is actually uniquely well suited to the challenge of equipping existing data with new behavior, without any modification or monkey patching. The bags of functions that typeclass instances in other languages eventually desugar to are quite convenient to work with directly in JS. Here's an example: ``` // :: type Monoid m = { empty: m, append: m -> m -> m } // Some useful monoids // :: Monoid Number const Sum = { empty: 0, append: x => y => x + y }; // :: Monoid Number const Product = { empty: 1, append: x => y => x * y }; // :: Monoid Number const Min = { empty: Infinity, append: x => y => Math.min(x, y) }; // :: Monoid Number const Max = { empty: -Infinity, append: x => y => Math.max(x, y) }; const Arr = (() => { // :: Monoid m -> (a -> m) -> [a] -> m const foldMap = M => f => xs => xs.reduce((p, c) => M.append(p)(f(c)), M.empty); // :: Monoid m -> [m] -> m const fold = M => foldMap(M)(x => x); return { foldMap, fold }; })(); const input = [1, 2, 3, 4, 5]; console.log([ Arr.fold(Sum)(input), // => 15 Arr.fold(Product)(input), // => 120 Arr.fold(Min)(input), // => 1 Arr.fold(Max)(input) // => 5 ]); ``` This doesn't have any dependencies, and I'd be quite comfortable pasting something like this into a util.js file without worrying too much that an average JS developer will find it impossible to decipher the black magic underlying its workings. The unfamiliar jargon of course is somewhat offputting, which is a valid criticism. I suggest however that this is true of any new and unfamiliar design pattern to some extent.
null
0
1543670839
1543671047
0
eauox9c
t3_a1lebc
null
null
t1_eaubpw9
/r/programming/comments/a1lebc/actually_callbacks_are_fine_implementing_monads/eauox9c/
1546276418
1
t5_2fwo
r/programming
public
null
False
filleduchaos
t2_7r81qd
Actually Ruby's OOP is very "original" OOP-like (in the tradition of Smalltalk and Objective-C) But what people take OOP to mean has since moved on, so whether that's a good or bad thing is largely subjective.
null
0
1544800897
False
0
ebs0i1q
t3_a60dlr
null
null
t1_ebrgsnj
/r/programming/comments/a60dlr/the_difference_between_interpreted_languages_and/ebs0i1q/
1547602289
4
t5_2fwo
r/programming
public
null
False
dinkandenza
t2_125f8l7u
Thanks for the input. Was there anything in particular that you disliked about the article?
null
0
1543670906
False
0
eauozdn
t3_a1lebc
null
null
t1_eas9nci
/r/programming/comments/a1lebc/actually_callbacks_are_fine_implementing_monads/eauozdn/
1546276444
1
t5_2fwo
r/programming
public
null
False
Goheeca
t2_97s0g
The infix notation is tricky, it's better to get rid of it with the shunting yard algorithm.
null
0
1544801041
False
0
ebs0u3n
t3_a61to1
null
null
t1_ebrwb8h
/r/programming/comments/a61to1/write_your_own_virtual_machine/ebs0u3n/
1547602437
8
t5_2fwo
r/programming
public
null
False
combinatorylogic
t2_iab4d
> I think it actually encompasses most of the things that are wrong with "minimalist approach" -- which is, the fact that all "minimalist approach" systems are unusable in real life. They never had a goal of making something "usable". If they did, it'd be, probably, an order of magnitude bigger, no more than that. Remember, they had a very limited hardware to start with, to keep it accessible on low cost FPGA boards (I even managed to port it to iCE40-8k with 512Kb SRAM). > It has no journaling of any sort You know, there is a very simple way to implement a perfect journaling, along with snapshots and rollback. Have you ever seen DEC Spiralog? I'm still puzzled why this approach was never used afterwards. And it's absolutely trivial to implement. Actually, thanks for reminding about it, I'm going to try building a Spiralog-like FS, just for fun... > The disk cache is rudimentary Do not forget about the very limited hardware. There's even no DDR, and you won't get too much SRAM - go to mouser or digikey and have a look at the prices. > One can certainly fix all the things above, but then the complexity increases Nope. Complexity does not increase too much - Minix is a good case in point here. What does increase though is hardware requirements. One of the specialities of mine is building bespoke hardware compute accelerators, which often involve constructing a cut down software layer for them (won't call it an OS, but it might have quite a lot of OS-like features). And all of it is hilariously simple, when you do it the right way. > And the most telling thing, I think, it that Project Oberon reports are written in Microsoft Word. You won't do much on a computer with 1Mb RAM, most of which is used for a framebuffer. Regardless of the quality of software running on it. That's way too low a spec even for TeX. > Well, it is easy to get rid of if you create your own Linux system. Nope. I won't get the functionality I want with Linux, its fundamental architecture is at odds with what I need (e.g., hard real-time). > Use bitmapped fonts, like Project Oberon does. A ttf rasteriser is in fact a very simple thing. Have a look at the older versions of FreeType (those still written in Pascal). > Just don't look into source code of some Arduino libraries -- it will make you want to throw up Maybe that's why I never had a reason to use any of them. Why would you, when it's so simple to drive, say, a stepper, or bit-bang a VGA? Just use the right level of abstraction (as declarative as possible) instead of crapping out all that boilerplate code. > If you change jobs / your home computer gets destroyed, and you have to start from scratch, would you be willing to spend weeks writing math and plotting libraries? My point is that this entire industry was doing things the wrong way and should start from scratch instead. Of course I do not advocate for everyone to build shit on their own - we need a common pool of *simple* things. Unikernels is a very good start in this regard. Let's see where they'll go.
null
0
1543671013
False
0
eaup2xp
t3_a1calg
null
null
t1_east5s8
/r/programming/comments/a1calg/defacto_closed_source_the_case_for_understandable/eaup2xp/
1546276489
1
t5_2fwo
r/programming
public
null
False
kevindqc
t2_3zk1y
Hmm that's not how I read it, here's my interpretation: They don't support minor versions (ie: 3.3.5) when newer minor versions come out (ie: 3.3.7). Makes sense - it should be fully backward compatible, so why make a [3.3.5.1](https://3.3.5.1) or something like that. They say they aren't actively developing bootstrap 3 because of bootstrap 4 - to me that means no new features, mostly just bug/security fixes if needed. Which is what they did for 3.4.0 (they also improved their tooling and documentation). The blog even says: >While we’d planned for ages to do a fresh v3.x update So I don't think they ever had in mind to completely disregard v3 after v4?
null
0
1544801087
False
0
ebs0xr9
t3_a5zjwu
null
null
t1_ebrk550
/r/programming/comments/a5zjwu/bootstrap_340_released/ebs0xr9/
1547602482
1
t5_2fwo
r/programming
public
null
False
s0lly
t2_j2bhc
I got the idea of attempting Shadow Casting in a game through this excellent video: [https://youtu.be/fc3nnG2CG8U](https://youtu.be/fc3nnG2CG8U) I've however approached things slightly differently - using straight line calculations rather than raycasting, and "edge" elimination techniques - and am quite happy with the results (although I need to combined edges, still). There are very few instances of artefacts cropping up but I'm planning on ironing those out. Otherwise, I aim to more generally apply the algorithm to all objects in the game space that "emit" light, as their light sources still leak through walls (i.e. aren't clipped via shadow casting). Quite the difficult journey, but enjoying it!
null
0
1543671287
False
0
eaupbwf
t3_a230zo
null
null
t3_a230zo
/r/programming/comments/a230zo/my_attempt_at_a_shadow_casting_algorithm/eaupbwf/
1546276599
19
t5_2fwo
r/programming
public
null
False
tonefart
t2_ywdx0
Because it allows low skilled people to easily get a job.
null
1
1544801128
False
0
ebs10zp
t3_a65liu
null
null
t3_a65liu
/r/programming/comments/a65liu/the_worlds_most_popular_programming_language_is/ebs10zp/
1547602523
6
t5_2fwo
r/programming
public
null
False
N3sh108
t2_ajorf
Are you ok?
null
0
1543671329
False
0
eaupdcz
t3_a1rp4s
null
null
t1_eauns3j
/r/programming/comments/a1rp4s/why_is_2_i_i_faster_than_2_i_i_java/eaupdcz/
1546276617
1
t5_2fwo
r/programming
public
null
False
deceased_parrot
t2_7q7zg
Because it's used everywhere. Note that "popular" as used here doesn't imply that everybody _likes_ it per se, just that everybody _uses_ it.
null
0
1544801139
False
0
ebs11v7
t3_a65liu
null
null
t3_a65liu
/r/programming/comments/a65liu/the_worlds_most_popular_programming_language_is/ebs11v7/
1547602534
29
t5_2fwo
r/programming
public
null
False
mediumdeviation
t2_4cokk
Wow, this is my new favourite esoteric documentation (my previous is Haskell's description of arrays - "Haskell provides indexable arrays, which may be thought of as functions whose domains are isomorphic to contiguous subsets of the integers.")
null
0
1543671410
False
0
eaupg4z
t3_a1we32
null
null
t1_eauagvr
/r/programming/comments/a1we32/i_put_words_on_this_webpage_so_you_have_to_listen/eaupg4z/
1546276652
5
t5_2fwo
r/programming
public
null
False
ShyJalapeno
t2_4vjjk
I had disc with snes emulator ( definitely remember the snes one, finished chrono trigger few times, not sure if it was the only one ) bundled with bunch of games.
null
0
1544801191
False
0
ebs15xz
t3_a55xbm
null
null
t1_eblahox
/r/programming/comments/a55xbm/how_the_dreamcast_copy_protection_was_defeated/ebs15xz/
1547602584
1
t5_2fwo
r/programming
public
null